Jenkinsfile update (#1474)

* Updating Jenkinsfile for a more thorough cleanup

* adding steps to the clean stage

* jk, maybe we don't want to do an initial clean...

* how about now?

* okay, surely now
This commit is contained in:
Parker Burnett 2022-12-19 21:13:52 -08:00 committed by GitHub
parent 738268a79a
commit 7100b17e5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

10
Jenkinsfile vendored
View File

@ -62,7 +62,15 @@ pipeline {
}
post {
always {
cleanWs()
echo "Finished, deleting directory."
deleteDir()
}
cleanup {
echo "Clean up in post."
cleanWs(cleanWhenNotBuilt: false,
deleteDirs: true,
disableDeferredWipeout: true,
notFailBuild: true)
}
}
}