test
This commit is contained in:
parent
fc1bc1fe2b
commit
56234673ea
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
|
@ -23,7 +23,7 @@ pipeline {
|
|||
sh 'git submodule update --init --recursive'
|
||||
|
||||
def branch = sh(
|
||||
script: "git branch --show-current",
|
||||
script: 'git branch --show-current 2>/dev/null || echo "DETACHED"',
|
||||
returnStdout: true
|
||||
).trim()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue