Browse Source

try deleteDir instead of bat script for cleaning ws

pull/5/head
JT 1 year ago
parent
commit
85497a7e4a
  1. 4
      Jenkinsfile

4
Jenkinsfile vendored

@ -4,9 +4,7 @@ node("Windows") {
def version = ""
stage('Clean') {
bat """set folder="${env.WORKSPACE}"
cd /d %folder%
for /F "delims=" %%i in (\'dir /b\') do (rmdir "%%i" /s/q || del "%%i" /s/q)"""
deleteDir()
}
stage('Checkout') {

Loading…
Cancel
Save