geforkt von Mirrors/Velocity
Okay, really?
Dieser Commit ist enthalten in:
Ursprung
576c63893f
Commit
19c4c300e5
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -21,7 +21,7 @@ pipeline {
|
|||||||
when {
|
when {
|
||||||
expression {
|
expression {
|
||||||
GIT_BRANCH = sh(returnStdout: true, script: 'git rev-parse --abbrev-ref HEAD').trim()
|
GIT_BRANCH = sh(returnStdout: true, script: 'git rev-parse --abbrev-ref HEAD').trim()
|
||||||
return GIT_BRANCH == 'origin/master'
|
return GIT_BRANCH == 'master'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
@ -32,7 +32,7 @@ pipeline {
|
|||||||
when {
|
when {
|
||||||
expression {
|
expression {
|
||||||
GIT_BRANCH = sh(returnStdout: true, script: 'git rev-parse --abbrev-ref HEAD').trim()
|
GIT_BRANCH = sh(returnStdout: true, script: 'git rev-parse --abbrev-ref HEAD').trim()
|
||||||
return GIT_BRANCH == 'origin/master'
|
return GIT_BRANCH == 'master'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren