Clean the workspace after building in the Jenkinsfile

This commit is contained in:
Username404 2021-10-05 22:03:42 +02:00
parent a64805bd35
commit 435bc45bd6
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 5 additions and 0 deletions

5
Jenkinsfile vendored
View File

@ -56,4 +56,9 @@ pipeline { // Multi-branch pipeline script for Yerbacon.
}
}
}
post {
always {
cleanWs(cleanWhenNotBuilt: false, deleteDirs: true, disableDeferredWipeout: false, notFailBuild: true, skipWhenFailed: false)
}
}
}