mirror of
https://github.com/znc/znc.git
synced 2026-05-05 04:52:31 +02:00
Jenkins should clean workspace before new build
if build agent is reused
This commit is contained in:
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -8,7 +8,8 @@ node('freebsd') {
|
||||
def srcdir = pwd()
|
||||
def tmpdir = pwd([tmp: true])
|
||||
stage('Checkout') {
|
||||
sh 'env'
|
||||
// https://issues.jenkins-ci.org/browse/JENKINS-32540
|
||||
sh 'git clean -ffdx'
|
||||
checkout scm
|
||||
sh 'git submodule update --init --recursive'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user