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

Commit

Permalink
Merge pull request #635 from LiskHQ/634-clean-workspace-in-jenkins
Browse files Browse the repository at this point in the history
Clean workspace folder in Jenkins on success - Closes #634
  • Loading branch information
slaweet authored Aug 22, 2017
2 parents c4706b8 + 256483e commit 97ca7c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ node('lisk-nano-01'){
rm -rf /tmp/.X0-lock || true
pkill -f webpack -9 || true
# Cleanup - delete all files on success
cd $WORKSPACE
rm -rf *
'''
} catch (err) {
currentBuild.result = 'FAILURE'
Expand Down

0 comments on commit 97ca7c1

Please sign in to comment.