Jenkinsfile: Remove tmp directory when done

This commit is contained in:
Alexandre Bard 2020-09-17 11:01:21 +02:00
parent 41a04188a2
commit 5df81d128a
1 changed files with 1 additions and 0 deletions

1
Jenkinsfile vendored
View File

@ -78,6 +78,7 @@ pipeline {
dir ('tmp/artifacts') { dir ('tmp/artifacts') {
zip archive: true, dir: "${WORKSPACE}/tmp/build-${IMAGE_TYPE}", glob: "*", zipFile: "${PACKAGE_NAME}-${BUILD_VERSION}-${machine}-${IMAGE_TYPE}.zip" zip archive: true, dir: "${WORKSPACE}/tmp/build-${IMAGE_TYPE}", glob: "*", zipFile: "${PACKAGE_NAME}-${BUILD_VERSION}-${machine}-${IMAGE_TYPE}.zip"
} }
sh "rm -rf ${WORKSPACE}/tmp"
} }
} }
} // stages } // stages