

(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-." Each test result file that matches Test Results Files is published as a test run. (Required) Select this option to publish JUnit test results produced by the Ant build to Azure Pipelines or your on-premises Team Foundation Server. (Optional) Target(s) for Ant to execute for this build. Alternatively, the built-in variables are already set as environment variables during the build and can be passed directly (for example, -DcollectionIdAsEnvVar=%SYSTEM_COLLECTIONID%). You can provide your own properties (for example, -DmyProperty=myPropertyValue) and also use built-in variables (for example, -DcollectionId=$(llectionId)).

(Optional) Options that you want to pass to the Ant command line. (Required) Relative path from the repository root to the Ant build file.įor more information about build files, see Using Apache Ant #jdkUserInputDirectory: # Required when javaHomeOption = Path #javaHomeOption: 'JDKVersion' # Options: jDKVersion, path #codeCoverageFailIfEmpty: false # Optional #codeCoverageSourceDirectories: # Optional Comma-separated list of filters to include or exclude classes from collecting code coverage. #codeCoverageClassFilesDirectories: '.' # Required when codeCoverageToolOptions != None #codeCoverageToolOptions: 'None' # Optional. #testResultsFiles: '**/TEST-*.xml' # Required when publishJUnitResults = True
