jenkins/update2head: fixed coding convention
the curly brackets shall be used even on if statements with only one line Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
This commit is contained in:
parent
f332dc9de8
commit
0704618e91
|
|
@ -28,11 +28,12 @@ pipeline {
|
||||||
stage('prepare') {
|
stage('prepare') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
if(params.UPDATE_NM_PARTS)
|
if(params.UPDATE_NM_PARTS) {
|
||||||
currentBuild.displayName += "-nm"
|
currentBuild.displayName += "-nm"
|
||||||
if(params.UPDATE_COMMUNITY_PARTS)
|
}
|
||||||
|
if(params.UPDATE_COMMUNITY_PARTS) {
|
||||||
currentBuild.displayName += "-community"
|
currentBuild.displayName += "-community"
|
||||||
|
}
|
||||||
printJobParameters()
|
printJobParameters()
|
||||||
prepareUpdate()
|
prepareUpdate()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue