Clean the workspace before anything gets started
This commit is contained in:
parent
a7c60fb5f1
commit
8f94787e6a
|
@ -9,6 +9,9 @@ def isMultibranch = !!(env.BRANCH_NAME)
|
|||
String shortCommit = ''
|
||||
|
||||
node('docker') {
|
||||
/* Make sure we're always starting with a fresh workspace */
|
||||
deleteDir()
|
||||
|
||||
stage('Checkout') {
|
||||
checkout scm
|
||||
sh 'git rev-parse HEAD > GIT_COMMIT'
|
||||
|
|
Loading…
Reference in New Issue