fix stage build x jenkinsfile

This commit is contained in:
Samuele E. Locatelli
2017-04-14 11:17:39 +02:00
parent 9e31b052b5
commit 25f7d0a138
Vendored
+24 -22
View File
@@ -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') {