This commit is contained in:
markiantorno 2020-05-05 13:54:14 -04:00
parent c41349a837
commit 04e247cd8c
1 changed files with 10 additions and 9 deletions

View File

@ -7,10 +7,10 @@ strategy:
matrix:
linux:
imageName: "ubuntu-16.04"
# mac:
# imageName: "macos-10.14"
# windows:
# imageName: "vs2017-win2016"
# mac:
# imageName: "macos-10.14"
# windows:
# imageName: "vs2017-win2016"
maxParallel: 3
pool:
@ -30,6 +30,7 @@ steps:
Write-Host $pomXml.project.version
$version=$pomXml.project.version
Write-Host "##vso[task.setvariable variable=version]$version"
- task: Maven@3
inputs:
mavenPomFile: 'pom.xml'
@ -55,10 +56,10 @@ steps:
summaryFileLocation: '$(System.DefaultWorkingDirectory)/report/target/site/jacoco-aggregate/jacoco.xml'
reportDirectory: '$(System.DefaultWorkingDirectory)/report/target/site/jacoco-aggregate/'
# - 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)/org/hl7/fhir/validation/target/org.hl7.fhir.validation-$(version).jar"
artifactName: ProjectAOutput