From: beierlm Date: Tue, 7 Jun 2022 16:21:17 +0000 (-0400) Subject: Better release note check X-Git-Tag: v12.0.1^0 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F08%2F12308%2F2;p=osm%2Fdevops.git Better release note check Only checks release notes for incoming patches, not for merge jobs. Change-Id: I895136d5369f836ddae66cd49a2911cd4aa945cb Signed-off-by: beierlm --- diff --git a/jenkins/ci-pipelines/ci_stage_2.groovy b/jenkins/ci-pipelines/ci_stage_2.groovy index 99d07566..dc155a19 100644 --- a/jenkins/ci-pipelines/ci_stage_2.groovy +++ b/jenkins/ci-pipelines/ci_stage_2.groovy @@ -49,6 +49,20 @@ def ci_pipeline(mdg,url_prefix,project,branch,refspec,revision,do_stage_3,artifa } } + 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') {