add stage archive 00/5900/1
authorMike Marchetti <mmarchetti@sandvine.com>
Thu, 22 Mar 2018 19:20:52 +0000 (15:20 -0400)
committerMike Marchetti <mmarchetti@sandvine.com>
Thu, 22 Mar 2018 19:20:52 +0000 (15:20 -0400)
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
jenkins/ci-pipelines/ci_stage_2.groovy

index 4d36857..d0e9d9d 100644 (file)
@@ -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 ) {