From 7e70086dd2535679d70d8821bbb81d636c0ebec6 Mon Sep 17 00:00:00 2001 From: Adam Wright Date: Thu, 6 Jun 2024 10:41:16 -0400 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6539f58..5ec1a5e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -51,9 +51,7 @@ pipeline { script{ def releaseVersion = utils.getReleaseVersion() def downloadDirectoryArchive = "download-directory-v${releaseVersion}.tgz" - sh "chown jenkins:jenkins ${releaseVersion} -R" - sh "mv biopax.zip ${env.ABS_DOWNLOAD_PATH}/${releaseVersion}/" - sh "mv biopax2.zip ${env.ABS_DOWNLOAD_PATH}/${releaseVersion}/" + sh "sudo chown jenkins:jenkins ${releaseVersion} -R" sh "tar -zcvf ${downloadDirectoryArchive} ${releaseVersion}" sh "mv ${releaseVersion}/* ${env.ABS_DOWNLOAD_PATH}/${releaseVersion}/" sh "rm -r ${releaseVersion}*"