Guest User

Untitled

a guest
Jun 30th, 2021
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. - task: Maven@3
  2. inputs:
  3. displayName: Veryfing package
  4. mavenPomFile: '${{ parameters.buildName }}/pom.xml'
  5. options: '--settings $(mavenSettings.secureFilePath) -Drepository_token=$(repository_token) -B'
  6. goals: 'org.jacoco:jacoco-maven-plugin:prepare-agent verify'
  7. publishJUnitResults: true
  8. codeCoverageToolOption: jaCoCo
  9. testResultsFiles: '**/surefire-reports/TEST-*.xml'
  10. javaHomeOption: 'JDKVersion'
  11. jdkVersionOption: ${{ parameters.jdkVersion }}
  12. mavenVersionOption: 'Default'
  13. mavenOptions: '-Xmx3072m -Dmaven.repo.local=$(Pipeline.Workspace)/.m2/repository'
  14. mavenAuthenticateFeed: false
  15. effectivePomSkip: false
  16. sonarQubeRunAnalysis: false
  17.  
  18. - task: PublishCodeCoverageResults@1
  19. inputs:
  20. codeCoverageTool: 'JaCoCo'
  21. summaryFileLocation: '$(Pipeline.Workspace)/**/coverage-reports/jacoco-*.xml'
Advertisement
Add Comment
Please, Sign In to add comment