diff --git a/Jenkinsfile b/Jenkinsfile index 63e5be61..3bd7268d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -141,8 +141,8 @@ pipeline { // bat "xcopy /y IOB-WIN\\Resources\\logoSteamware.png c:\\inetpub\\wwwroot\\SWS\\MAPO\\IOB-WIN\\${env.BRANCH_NAME}\\ " // elimino files inutili di resources e pubblico - bat "RD /S /Q IOB-WIN\\Resources" - bat "RD /S /Q IOB-WIN-NEXT\\Resources" + bat "RD /S /Q IOB-WIN\\Resources || EXIT /B 0" + bat "RD /S /Q IOB-WIN-NEXT\\Resources || EXIT /B 0" // elimino vecchio zip... bat "RD /S /Q Releases\\${env.BRANCH_NAME}\\ || EXIT /B 0" @@ -241,7 +241,7 @@ def fixResources(basePath){ def anno = now.format("yyyy", TimeZone.getTimeZone('UTC')) // elimino files conf personalizzata per ogni install... - bat "RD /S /Q ${basePath}\\bin\\DATA" + bat "RD /S /Q ${basePath}\\bin\\DATA || EXIT /B 0" // manifest.xml: aggiorno versNumber ed URL del branch di update... bat "e:\\fart.exe ${basePath}\\Resources\\manifest.xml 1.0.0.0 ${env.versionNumber} || EXIT /B 0" bat "e:\\fart.exe ${basePath}\\Resources\\manifest.xml {{BRANCHNAME}} ${env.BRANCH_NAME} || EXIT /B 0"