X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=jenkins%2Fci-pipelines%2Fci_stage_2.groovy;h=4d23cf1759129bbd2538d3c21edf2cde516683fc;hb=f4fae40a27390b16c88ca991358c62278f1c4d47;hp=18de85fbc7cb9624b542775fc536865aef405dee;hpb=4e0b32ad547306a7ba7afce730765f312af9f4e9;p=osm%2Fdevops.git diff --git a/jenkins/ci-pipelines/ci_stage_2.groovy b/jenkins/ci-pipelines/ci_stage_2.groovy index 18de85fb..4d23cf17 100644 --- a/jenkins/ci-pipelines/ci_stage_2.groovy +++ b/jenkins/ci-pipelines/ci_stage_2.groovy @@ -19,7 +19,8 @@ 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 ) { sh "git checkout -f ${revision}" @@ -43,7 +44,7 @@ def ci_pipeline(mdg,url_prefix,project,branch,refspec,revision,do_stage_3,artifa sh "devops/tools/license_scan.sh" } else { - Println("skip the scan for merge") + println("skip the scan for merge") } }