refactor: replace cleanWs() with deleteDir() in Jenkinsfile for workspace cleanup
Some checks failed
homelab-k8s-services/tictactoe/pipeline/head There was a failure building this commit
Some checks failed
homelab-k8s-services/tictactoe/pipeline/head There was a failure building this commit
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -114,7 +114,7 @@ spec:
|
|||||||
|
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
cleanWs()
|
deleteDir()
|
||||||
}
|
}
|
||||||
success {
|
success {
|
||||||
echo "Build ${BUILD_NUMBER} deployed. Image: ${IMAGE}:${BUILD_NUMBER}"
|
echo "Build ${BUILD_NUMBER} deployed. Image: ${IMAGE}:${BUILD_NUMBER}"
|
||||||
|
|||||||
Reference in New Issue
Block a user