mirror of
https://github.com/znc/znc.git
synced 2026-07-06 09:51:25 +02:00
Jenkins: cleanup the workspace differently
git clean doesn't work
This commit is contained in:
Vendored
+1
-2
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user