Skip to content

Commit

Permalink
Remove artefacts from previous build at start of a branch build
Browse files Browse the repository at this point in the history
Jenkins is currently configured to re-use workspaces between builds of
the same branch. Run `make clean` at the start of the build to ensure
that any artefacts from the previous build of the branch are removed.
  • Loading branch information
robertknight committed Nov 4, 2016
1 parent 93d3444 commit 0eef793
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ node {

stage 'Build'
nodeEnv.inside("-e HOME=${workspace}") {
sh 'make clean'
sh 'make'
}

Expand Down

0 comments on commit 0eef793

Please sign in to comment.