Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Mark Iantorno 2020-05-04 20:24:06 -04:00
parent 376a18f68c
commit 1862cdbf47
1 changed files with 9 additions and 5 deletions

View File

@ -43,12 +43,16 @@ steps:
goals: 'clean package'
- bash: echo Current version => $(version)
displayName: 'version'
- task: PublishCodeCoverageResults@1
inputs:
codeCoverageTool: "Jacoco"
summaryFileLocation: "$(System.DefaultWorkingDirectory)/report/target/site/jacoco-aggregate/jacoco.xml"
failIfCoverageEmpty: true
- bash: <(curl https://codecov.io/bash) -t $(CODECOV_TOKEN)
displayName: 'codecov'
# - task: PublishCodeCoverageResults@1
# inputs:
# codeCoverageTool: "Jacoco"
# summaryFileLocation: "$(System.DefaultWorkingDirectory)/report/target/site/jacoco-aggregate/jacoco.xml"
# failIfCoverageEmpty: true
# - task: PublishPipelineArtifact@1
# condition: eq(variables.currentImage, 'ubuntu-16.04')