Jenkins: cleanup the workspace differently

git clean doesn't work
This commit is contained in:
Alexey Sokolov
2016-09-17 11:09:56 +01:00
parent 8a9ee77239
commit dd21f8202e
Vendored
+1 -2
View File
@@ -8,8 +8,7 @@ node('freebsd') {
def srcdir = pwd()
def tmpdir = pwd([tmp: true])
stage('Checkout') {
// https://issues.jenkins-ci.org/browse/JENKINS-32540
sh 'git clean -ffdx'
step([$class: 'WsCleanup'])
checkout scm
sh 'git submodule update --init --recursive'
}