From: Mike Marchetti Date: Thu, 22 Mar 2018 19:20:52 +0000 (-0400) Subject: add stage archive X-Git-Tag: v3.1.0~41 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=f6d3d9ded53d13958c13b9bf18b78f179447a4e1;p=osm%2Fdevops.git add stage archive Signed-off-by: Mike Marchetti --- diff --git a/jenkins/ci-pipelines/ci_stage_2.groovy b/jenkins/ci-pipelines/ci_stage_2.groovy index 4d368578..d0e9d9dc 100644 --- a/jenkins/ci-pipelines/ci_stage_2.groovy +++ b/jenkins/ci-pipelines/ci_stage_2.groovy @@ -59,10 +59,12 @@ def ci_pipeline(mdg,url_prefix,project,branch,refspec,revision,do_stage_3,artifa stage('Build') { sh(returnStdout:true, script: 'devops-stages/stage-build.sh').trim() } - sh "mkdir -p changelog" - sh "devops/tools/generatechangelog-pipeline.sh > changelog/changelog-${mdg}.html" - sh(returnStdout:true, script: 'devops-stages/stage-archive.sh').trim() - ci_helper.archive(artifactory_server,mdg,branch,'untested') + stage('Archive') { + sh "mkdir -p changelog" + sh "devops/tools/generatechangelog-pipeline.sh > changelog/changelog-${mdg}.html" + sh(returnStdout:true, script: 'devops-stages/stage-archive.sh').trim() + ci_helper.archive(artifactory_server,mdg,branch,'untested') + } } if ( do_stage_3 ) {