use docker container for archiving 99/5899/1
authorMike Marchetti <mmarchetti@sandvine.com>
Thu, 22 Mar 2018 19:16:28 +0000 (15:16 -0400)
committerMike Marchetti <mmarchetti@sandvine.com>
Thu, 22 Mar 2018 19:16:28 +0000 (15:16 -0400)
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
devops-stages/stage-archive.sh
jenkins/ci-pipelines/ci_stage_2.groovy

index e87b36f..20a9454 100755 (executable)
@@ -32,7 +32,7 @@ fi
 rm -rf $PKG_DIR
 rm -f *.orig.tar.xz
 rm -f *.deb
-rm $DEB_INSTALL
+rm -f $DEB_INSTALL
 mkdir -p $PKG_DIR
 
 for dir in $PKG_DIRECTORIES; do
index 52e2f1d..4d36857 100644 (file)
@@ -59,9 +59,6 @@ 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()
         }
-    }
-
-    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()