Revert "simplify it a little"

This reverts commit 91f45965a0.
pull/24/head
Adam Townsend 2023-10-16 17:23:50 -07:00
parent 91f45965a0
commit b2cdf60a32
1 changed files with 4 additions and 2 deletions

6
Jenkinsfile vendored
View File

@ -55,14 +55,16 @@ pipeline {
rm -rf /tmp/url-shortener/features /tmp/url-shortener/spec /tmp/url-shortener/coverage .git* rm -rf /tmp/url-shortener/features /tmp/url-shortener/spec /tmp/url-shortener/coverage .git*
cd /tmp cd /tmp
tar -czvf url-shortener.tgz url-shortener/ tar -czvf url-shortener.tgz url-shortener/
mv url-shortener.tgz $CUR_DIR
''' '''
} }
archiveArtifacts artifacts: '/tmp/url-shortener.tgz' archiveArtifacts artifacts: 'url-shortener.tgz'
} }
} }
stage('Clean up deliverable') { stage('Clean up deliverable') {
steps { steps {
sh 'rm -rf /tmp/url-shortener*' sh 'rm -rf /tmp/url-shortener'
sh 'rm -rf url-shortener.tgz'
} }
} }
} }