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