diff --git a/Jenkinsfile b/Jenkinsfile index 5e88e091..3e1eb999 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -34,28 +34,30 @@ pipeline { stage('Build') { agent any steps { - /* CAMBIO numero versione in file sorgente!!! */ - bat "fart.exe VersGen\\MoonPro.cs 000.000 ${env.versionNumber} || EXIT /B 0" - parallel ( - LANDING: { - sleep 2 - bat "\"${tool 'MSBuild-14.0'}\" MP\\MP.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" - }, - // ADMIN: { - // bat "\"${tool 'MSBuild-14.0'}\" GPW_Smart\\GPW_Smart.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" - // }, - // BARCODE: { - // sleep 1 - // bat "\"${tool 'MSBuild-14.0'}\" GPW_Barcode\\GPW_Barcode.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" - // }, - // SMART: { - // sleep 1 - // bat "\"${tool 'MSBuild-14.0'}\" GPW_Smart\\GPW_Smart.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" - // }, - // COMMESSE: { - // bat "\"${tool 'MSBuild-14.0'}\" GPW_Commesse\\GPW_Commesse.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" - // }, - failFast: false) + script { + /* CAMBIO numero versione in file sorgente!!! */ + bat "fart.exe VersGen\\MoonPro.cs 000.000 ${env.versionNumber} || EXIT /B 0" + parallel ( + LANDING: { + sleep 2 + bat "\"${tool 'MSBuild-14.0'}\" MP\\MP.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" + }, + // ADMIN: { + // bat "\"${tool 'MSBuild-14.0'}\" GPW_Smart\\GPW_Smart.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" + // }, + // BARCODE: { + // sleep 1 + // bat "\"${tool 'MSBuild-14.0'}\" GPW_Barcode\\GPW_Barcode.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" + // }, + // SMART: { + // sleep 1 + // bat "\"${tool 'MSBuild-14.0'}\" GPW_Smart\\GPW_Smart.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" + // }, + // COMMESSE: { + // bat "\"${tool 'MSBuild-14.0'}\" GPW_Commesse\\GPW_Commesse.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" + // }, + failFast: false) + } } } // stage('Test') {