File tree Expand file tree Collapse file tree 1 file changed +15
-8
lines changed
.azure-pipelines/templates/build Expand file tree Collapse file tree 1 file changed +15
-8
lines changed Original file line number Diff line number Diff line change 11steps :
2- - task : Gradle@2
3- inputs :
4- gradleWrapperFile : ' $(Agent.BuildDirectory)/gradlew'
5- tasks : ' build'
6- publishJUnitResults : true
7- testResultsFiles : ' **/TEST-*.xml'
8- javaHomeOption : ' JDKVersion'
9- sonarQubeRunAnalysis : false
2+ - task : Gradle@2
3+ inputs :
4+ gradleWrapperFile : ' $(Agent.BuildDirectory)/gradlew'
5+ tasks : ' build'
6+ publishJUnitResults : true
7+ testResultsFiles : ' **/TEST-*.xml'
8+ javaHomeOption : ' JDKVersion'
9+ 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
You can’t perform that action at this time.
0 commit comments