Jenkinsfile: Remove tmp directory when done
This commit is contained in:
parent
41a04188a2
commit
5df81d128a
|
|
@ -78,6 +78,7 @@ pipeline {
|
|||
dir ('tmp/artifacts') {
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue