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

Add workspace cleaning after job finished #13490

Merged
merged 3 commits into from
Dec 7, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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