(Optional) Fail the build if code coverage did not produce any results to publishĪrgument aliases: codeCoverageFailIfEmpty For example: +:com.*,+:org.*,-:my.app*.*."Īrgument aliases: codeCoverageClassFilterįail when code coverage results are missing (Optional) Comma-separated list of filters to include or exclude classes from collecting code coverage. Normally, classes under `build/classes/main` are searched, which is the default class directory for Gradle buildsĪrgument aliases: codeCoverageClassFilesDirectories Code coverage is reported for class files in these directories. ![]() (Required) Comma-separated list of directories containing class files and archive files (JAR, WAR, etc.). (Optional) Choose a code coverage tool to determine the code that is covered by the test cases for the build. (Optional) Assign a title for the JUnit test case results for this build. For example, */TEST-.xml for all xml files whose name starts with TEST-." (Required) Select this option to publish JUnit Test results produced by the Gradle build to Azure Pipelines/TFS. A list of task names should be separated by spaces and can be taken from gradlew tasks issued from a command prompt. (Required) The task(s) for Gradle to execute. (Optional) Specify any command line options you want to pass to the Gradle wrapper. Agents on Linux or macOS can use the gradlew shell script. For agents on Windows (including Microsoft-hosted agents), you must use the gradlew.bat wrapper. (Required) The location in the repository of the gradlew wrapper used for the build. #sonarQubeGradlePluginVersion: '2.6.1' # Required when sonarQubeRunAnalysis = True & SqGradlePluginVersionChoice = Specify #sqGradlePluginVersionChoice: 'specify' # Required when sonarQubeRunAnalysis = True# Options: specify, build #jdkDirectory: # Required when javaHomeOption = Path #javaHomeOption: 'JDKVersion' # Options: jDKVersion, path #codeCoverageFailIfEmpty: false # Optional Comma-separated list of filters to include or exclude classes from collecting code coverage. ![]() #codeCoverageClassFilesDirectories: 'build/classes/main/' # Required when codeCoverageToolOption = False #codeCoverageToolOption: 'None' # Optional. #testResultsFiles: '**/TEST-*.xml' # Required when publishJUnitResults = True #tasks: 'build' # A list of tasks separated by spaces, such as 'build test'
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |