try git ref
Some checks are pending
Build Multiarch Container Image / call-reusable-workflow (push) Waiting to run
Some checks are pending
Build Multiarch Container Image / call-reusable-workflow (push) Waiting to run
This commit is contained in:
parent
e9b7975185
commit
ffb72065fa
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -2,8 +2,8 @@ pipeline {
|
|||
agent none
|
||||
environment {
|
||||
GIT_REF = """${sh(
|
||||
script: 'git describe --tags --exact-match 2>/dev/null || git symbolic-ref --short HEAD',
|
||||
returnStdout: true
|
||||
returnStdout: true,
|
||||
script: 'git describe --tags --exact-match 2>/dev/null || git symbolic-ref --short HEAD'
|
||||
)}"""
|
||||
}
|
||||
stages {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue