Update release-branch-pipeline.yml for Azure Pipelines
This commit is contained in:
parent
f06d7cdbc1
commit
db16bad13d
|
@ -46,7 +46,7 @@ jobs:
|
||||||
inputs:
|
inputs:
|
||||||
targetType: 'inline'
|
targetType: 'inline'
|
||||||
script: |
|
script: |
|
||||||
echo Pulled version from pom.xml => $(VERSION)
|
echo Pulled version from pom.xml => $VERSION
|
||||||
displayName: Debug print release version
|
displayName: Debug print release version
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
# Azure pipelines cannot pass variables between pipelines, but it can pass files, so we
|
# Azure pipelines cannot pass variables between pipelines, but it can pass files, so we
|
||||||
|
@ -75,8 +75,8 @@ jobs:
|
||||||
inputs:
|
inputs:
|
||||||
targetType: 'inline'
|
targetType: 'inline'
|
||||||
script: |
|
script: |
|
||||||
$branch_name = '$(Build.SourceBranchName)'
|
$BRANCH = '$(Build.SourceBranchName)'
|
||||||
Write-Host "##vso[task.setvariable variable=branch_name]$branch_name"
|
Write-Host "##vso[task.setvariable variable=branch_name]$BRANCH"
|
||||||
displayName: Save branch name to local variable.
|
displayName: Save branch name to local variable.
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
# Prints out the branch name, for debugging purposes
|
# Prints out the branch name, for debugging purposes
|
||||||
|
|
Loading…
Reference in New Issue