| commit | 4e0b32ad547306a7ba7afce730765f312af9f4e9 | [log] [tgz] |
|---|---|---|
| author | madavi <jm00553988@techmahindra.com> | Thu Sep 12 17:35:17 2019 +0530 |
| committer | madavi <jm00553988@techmahindra.com> | Thu Sep 12 15:22:26 2019 +0200 |
| tree | c90473bb8e6a70f3ed06896bc519b3fc97f7eb9c | |
| parent | b6a0bf1d0babbffc146326475a2f48391ffe6e54 [diff] |
Remove license check from Merge job Change-Id: Ie6d6ee1f4a05eab80cb7bf76b18849f5226c7c37 Signed-off-by: madavi <jm00553988@techmahindra.com>
diff --git a/jenkins/ci-pipelines/ci_stage_2.groovy b/jenkins/ci-pipelines/ci_stage_2.groovy index ddbd80a..18de85f 100644 --- a/jenkins/ci-pipelines/ci_stage_2.groovy +++ b/jenkins/ci-pipelines/ci_stage_2.groovy
@@ -39,7 +39,12 @@ } 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()