Regular Expression Checker - Build TaskThis is an Azure DevOps task that will check files against a regular expression and count the number of matches it finds. The result will then fail the build if the total count does not match that set in the task (default of 0). Common Uses
Available SettingsRegular ExpressionA regular expression to check files against. Root DirectoryThe directory the check will search in, this is recursive. File Path RegExA regular expression to filter files on their full path, only matching items will be searched. If left blank all files in the search directory are included. Number of expected matchesIf the number of matches does not equal this value the task will fail. Find the project source on GitHub https://github.com/jynxeh/AzureDevOpsRegExChecker. |