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