Set even correcter version for artifact publish
This commit is contained in:
parent
97bebabc91
commit
3995ec44e2
|
@ -39,7 +39,7 @@ jobs:
|
||||||
# version
|
# version
|
||||||
Write-Host $pomXml.project.version
|
Write-Host $pomXml.project.version
|
||||||
$version_from_pom=$pomXml.project.version
|
$version_from_pom=$pomXml.project.version
|
||||||
Write-Host "##vso[task.setvariable variable=version_from_pom]$version_from_pom"
|
Write-Host "##vso[task.setvariable variable=version_from_pom;isOutput=true;]$version_from_pom"
|
||||||
displayName: Save pom file version to local variable.
|
displayName: Save pom file version to local variable.
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
# Prints out the build version, for debugging purposes
|
# Prints out the build version, for debugging purposes
|
||||||
|
@ -124,6 +124,8 @@ jobs:
|
||||||
- job: publish_build_artifacts
|
- job: publish_build_artifacts
|
||||||
timeoutInMinutes: 5
|
timeoutInMinutes: 5
|
||||||
dependsOn: ['buildaroni']
|
dependsOn: ['buildaroni']
|
||||||
|
variables:
|
||||||
|
version_from_pom: $[ dependencies.buildaroni.outputs['setVariable.version_from_pom'] ]
|
||||||
steps:
|
steps:
|
||||||
# Publishes the built Validator jar to build artifacts. Primarily for testing and debugging builds.
|
# Publishes the built Validator jar to build artifacts. Primarily for testing and debugging builds.
|
||||||
- task: PublishPipelineArtifact@1
|
- task: PublishPipelineArtifact@1
|
||||||
|
|
Loading…
Reference in New Issue