From 0704618e913e98deb92ccc6bd2f54642d1f95a6f Mon Sep 17 00:00:00 2001 From: Marc Mattmueller Date: Wed, 13 Oct 2021 11:34:14 +0200 Subject: [PATCH] jenkins/update2head: fixed coding convention the curly brackets shall be used even on if statements with only one line Signed-off-by: Marc Mattmueller --- Jenkinsfile_update2head | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile_update2head b/Jenkinsfile_update2head index f2bac35..1af3958 100644 --- a/Jenkinsfile_update2head +++ b/Jenkinsfile_update2head @@ -28,11 +28,12 @@ pipeline { stage('prepare') { steps { script { - if(params.UPDATE_NM_PARTS) + if(params.UPDATE_NM_PARTS) { currentBuild.displayName += "-nm" - if(params.UPDATE_COMMUNITY_PARTS) + } + if(params.UPDATE_COMMUNITY_PARTS) { currentBuild.displayName += "-community" - + } printJobParameters() prepareUpdate() }