X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=jenkins%2Fci-pipelines%2Fci_stage_2.groovy;h=67d1b5b607ca1026743d332f4b90698dd2062d1a;hb=refs%2Fchanges%2F48%2F10248%2F7;hp=4d23cf1759129bbd2538d3c21edf2cde516683fc;hpb=27556780aaf744ac57f2a023f10009230a61316b;p=osm%2Fdevops.git diff --git a/jenkins/ci-pipelines/ci_stage_2.groovy b/jenkins/ci-pipelines/ci_stage_2.groovy index 4d23cf17..67d1b5b6 100644 --- a/jenkins/ci-pipelines/ci_stage_2.groovy +++ b/jenkins/ci-pipelines/ci_stage_2.groovy @@ -19,7 +19,7 @@ def project_checkout(url_prefix,project,refspec,revision) { // checkout the project // this is done automaticaly by the multibranch pipeline plugin // git url: "${url_prefix}/${project}" - + sh "git fetch --tags" sh "git fetch origin ${refspec}" if (GERRIT_PATCHSET_REVISION.size() > 0 ) { @@ -42,7 +42,7 @@ 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") }