projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix when changelog not available
[osm/devops.git]
/
jenkins
/
ci-pipelines
/
ci_stage_3.groovy
diff --git
a/jenkins/ci-pipelines/ci_stage_3.groovy
b/jenkins/ci-pipelines/ci_stage_3.groovy
index
6cb706d
..
d8751bb
100644
(file)
--- 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
// 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
"""
}
// start an apache server to serve up the images