projects
/
osm
/
devops.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6a0bf1
)
Remove license check from Merge job
45/7945/8
author
madavi
<jm00553988@techmahindra.com>
Thu, 12 Sep 2019 12:05:17 +0000
(17:35 +0530)
committer
madavi
<jm00553988@techmahindra.com>
Thu, 12 Sep 2019 13:22:26 +0000
(15:22 +0200)
Change-Id: Ie6d6ee1f4a05eab80cb7bf76b18849f5226c7c37
Signed-off-by: madavi <jm00553988@techmahindra.com>
jenkins/ci-pipelines/ci_stage_2.groovy
patch
|
blob
|
history
diff --git
a/jenkins/ci-pipelines/ci_stage_2.groovy
b/jenkins/ci-pipelines/ci_stage_2.groovy
index
ddbd80a
..
18de85f
100644
(file)
--- 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()