Only checks release notes for incoming patches, not
for merge jobs.
Change-Id: I895136d5369f836ddae66cd49a2911cd4aa945cb
Signed-off-by: beierlm <mark.beierl@canonical.com>
}
}
+ stage('Release Note Check') {
+ if (fileExists('devops-stages/stage-releasenote.sh')) {
+ if (!JOB_NAME.contains('merge')) {
+ sh "devops-stages/stage-releasenote.sh"
+ }
+ else {
+ println("Not checking release notes for merge job")
+ }
+ }
+ else {
+ println("No releasenote check present")
+ }
+ }
+
container_name = "${project}-${branch}".toLowerCase()
stage('Docker-Build') {