Fixed slash win
@@ -54,7 +54,8 @@ try{
}
dir(base_source){ // Trick to create the parent
- def cmd = "python -c \"import shutil; shutil.copytree('${WORKSPACE}', '${sourcedir}')\""
+ def escaped_ws = "${WORKSPACE}".replace("\\", "/")
+ def cmd = "python -c \"import shutil; shutil.copytree('${escaped_ws}', '${sourcedir}')\""
if (slave == "Windows"){
bat(script: cmd)
}
