From 5ce567ea77d1bed205616fb4aa33734bb4e89336 Mon Sep 17 00:00:00 2001 From: Mike Marchetti Date: Sat, 18 Nov 2017 12:28:11 -0500 Subject: [PATCH 1/1] fix when changelog not available Change-Id: I0c119052a662ff67371c6c430fbd9a7753852cc7 Signed-off-by: Mike Marchetti --- jenkins/ci-pipelines/ci_stage_3.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy index 6cb706d3..d8751bb7 100644 --- a/jenkins/ci-pipelines/ci_stage_3.groovy +++ b/jenkins/ci-pipelines/ci_stage_3.groovy @@ -133,7 +133,7 @@ node("${params.NODE}") { // merge the change logs sh """ rm -f changelog/osm-changelog.html - [ -d changelog ] && for mdgchange in \$(ls changelog); do cat changelog/\$mdgchange >> changelog/osm-changelog.html; done + [ ! -d changelog ] || for mdgchange in \$(ls changelog); do cat changelog/\$mdgchange >> changelog/osm-changelog.html; done """ } // start an apache server to serve up the images -- 2.25.1