Okay, really?
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -21,7 +21,7 @@ pipeline {
|
||||
when {
|
||||
expression {
|
||||
GIT_BRANCH = sh(returnStdout: true, script: 'git rev-parse --abbrev-ref HEAD').trim()
|
||||
return GIT_BRANCH == 'origin/master'
|
||||
return GIT_BRANCH == 'master'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
@@ -32,7 +32,7 @@ pipeline {
|
||||
when {
|
||||
expression {
|
||||
GIT_BRANCH = sh(returnStdout: true, script: 'git rev-parse --abbrev-ref HEAD').trim()
|
||||
return GIT_BRANCH == 'origin/master'
|
||||
return GIT_BRANCH == 'master'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
|
Reference in New Issue
Block a user