Explorar el Código

contrib/ci.inria.fr/Jenkinsfile-windows: do not delete directory if environment variable KEEP_WORKING_DIRECTORY is set to true

Nathalie Furmento hace 6 años
padre
commit
0ba6e5a7f9
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      contrib/ci.inria.fr/Jenkinsfile-windows

+ 2 - 1
contrib/ci.inria.fr/Jenkinsfile-windows

@@ -82,7 +82,8 @@ pipeline
 									unstash 'script-windows-check'
 									unstash 'script-windows-build'
 									bat './job-1-check-windows.bat'
-									deleteDir()
+									if (env.KEEP_WORKING_DIRECTORY != 'true')
+										deleteDir()
 								}
 							}
 						}