From b2cdf60a3255bdb65db3fe871e12a23ee830c795 Mon Sep 17 00:00:00 2001 From: Adam Townsend Date: Mon, 16 Oct 2023 17:23:50 -0700 Subject: [PATCH] Revert "simplify it a little" This reverts commit 91f45965a04525b7fcfc324f19b7c31b725ed87a. --- Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 55db95a..f9a70a6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -55,14 +55,16 @@ pipeline { rm -rf /tmp/url-shortener/features /tmp/url-shortener/spec /tmp/url-shortener/coverage .git* cd /tmp 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') { steps { - sh 'rm -rf /tmp/url-shortener*' + sh 'rm -rf /tmp/url-shortener' + sh 'rm -rf url-shortener.tgz' } } }