Skip to content
This repository has been archived by the owner on Jun 7, 2019. It is now read-only.

Commit

Permalink
Add cleanup stage.
Browse files Browse the repository at this point in the history
Call deleteDir() after a sucessful build to preserve space.
  • Loading branch information
francoilol committed Sep 27, 2017
1 parent ac8b966 commit 925b0dd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,10 @@ pipeline {
sh 'npm run jenkins'
}
}
stage('Cleanup') {
steps {
deleteDir()
}
}
}
}

0 comments on commit 925b0dd

Please sign in to comment.