Merge branch 'azure_pipelines_setup' of https://github.com/hapifhir/org.hl7.fhir.core into azure_pipelines_setup

This commit is contained in:
markiantorno 2020-05-04 12:01:48 -04:00
commit 4a9e387613
1 changed files with 14 additions and 8 deletions

View File

@ -1,12 +1,18 @@
<<<<<<< HEAD
# Maven
=======
>>>>>>> 18b5b3b16654f9f583227bddce9ea209a64aa47f
trigger:
branches:
include:
- '*'
<<<<<<< HEAD
# pr:
# - master
# - release
=======
>>>>>>> 18b5b3b16654f9f583227bddce9ea209a64aa47f
strategy:
matrix:
@ -47,19 +53,19 @@ steps:
testResultsFiles: '**/surefire-reports/TEST-*.xml'
goals: 'package cobertura:cobertura'
- bash: echo $(version)
- bash: echo $(variables.currentImage)
- bash: echo Current version => $(version)
- task: PublishCodeCoverageResults@1
inputs:
codeCoverageTool: "Cobertura"
summaryFileLocation: "$(System.DefaultWorkingDirectory)/**/site/cobertura/coverage.xml"
summaryFileLocation: "$(System.DefaultWorkingDirectory)/report/**/site/jacoco-aggregate/jacoco.xml"
failIfCoverageEmpty: true
- task: PublishPipelineArtifact@1
condition: eq(variables.currentImage, 'ubuntu-16.04')
inputs:
targetPath: "$(System.DefaultWorkingDirectory)/target/ProjectA-$(version).jar"
artifactName: ProjectAOutput
# - task: PublishPipelineArtifact@1
# condition: eq(variables.currentImage, 'ubuntu-16.04')
# inputs:
# targetPath: "$(System.DefaultWorkingDirectory)/target/ProjectA-$(version).jar"
# artifactName: ProjectAOutput