Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…nto dev
  • Loading branch information
Natalie Roberts authored and Natalie Roberts committed Dec 7, 2018
2 parents f83cae1 + 38d7a2b commit 510a633
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ try {
catch (e) {
echo e.toString()
}
stage( "Clean Workspace" ) {
step([ $class: 'WsCleanup' ])

stage("Clean Workspace")
{
if ("${CLEAN_WORKSPACE}" == "true")
step([$class: 'WsCleanup'])
}
}

0 comments on commit 510a633

Please sign in to comment.