From 4e0b32ad547306a7ba7afce730765f312af9f4e9 Mon Sep 17 00:00:00 2001 From: madavi Date: Thu, 12 Sep 2019 17:35:17 +0530 Subject: [PATCH] Remove license check from Merge job Change-Id: Ie6d6ee1f4a05eab80cb7bf76b18849f5226c7c37 Signed-off-by: madavi --- jenkins/ci-pipelines/ci_stage_2.groovy | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jenkins/ci-pipelines/ci_stage_2.groovy b/jenkins/ci-pipelines/ci_stage_2.groovy index ddbd80aa..18de85fb 100644 --- a/jenkins/ci-pipelines/ci_stage_2.groovy +++ b/jenkins/ci-pipelines/ci_stage_2.groovy @@ -39,7 +39,12 @@ def ci_pipeline(mdg,url_prefix,project,branch,refspec,revision,do_stage_3,artifa } stage('License Scan') { + if (!JOB_NAME.contains('merge')) { sh "devops/tools/license_scan.sh" + } + else { + Println("skip the scan for merge") + } } container_name = "${project}-${branch}".toLowerCase() -- 2.25.1