Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Add workspace cleaning after job finished (#13490)
Browse files Browse the repository at this point in the history
* Add workspace cleaning after job finished

* Update Jenkinsfile_utils.groovy

* Update Jenkinsfile_utils.groovy
  • Loading branch information
marcoabreu authored and nswamy committed Dec 7, 2018
1 parent f390f0c commit 9c0d173
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ci/Jenkinsfile_utils.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,10 @@ def main_wrapper(args) {
node(NODE_UTILITY) {
// Call failure handler
args['failure_handler']()


// Clean workspace to reduce space requirements
cleanWs()

// Remember to rethrow so the build is marked as failing
if (err) {
throw err
Expand Down

0 comments on commit 9c0d173

Please sign in to comment.