We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10b375f commit 8ca865bCopy full SHA for 8ca865b
.azure-pipelines/templates/build/build-and-coverage.yml
@@ -6,4 +6,11 @@ steps:
6
publishJUnitResults: true
7
testResultsFiles: '**/TEST-*.xml'
8
javaHomeOption: 'JDKVersion'
9
- sonarQubeRunAnalysis: false
+ sonarQubeRunAnalysis: false
10
+
11
+- task: PublishCodeCoverageResults@1
12
+ inputs:
13
+ codeCoverageTool: 'JaCoCo'
14
+ summaryFileLocation: $(System.DefaultWorkingDirectory)/build/reports/jacoco/test/jacocoTestReport.xml
15
+ pathToSources: $(System.DefaultWorkingDirectory)/src/main/java
16
+ failIfCoverageEmpty: true
0 commit comments