Aggiunto stager build...

This commit is contained in:
Samuele E. Locatelli
2017-10-17 16:17:12 +02:00
parent d807f4be65
commit cb5e3394b2
Vendored
+21 -41
View File
@@ -31,47 +31,27 @@ pipeline {
bat "fart.exe VersGen\\VersGen.cs 000.000 ${env.versionNumber} || EXIT /B 0"
}
}
// stage('Build') {
// agent any
// steps {
// script {
// /* compilo installers in base al BRANCH del cliente... */
// if (env.BRANCH_NAME == "develop") {
// /* CAMBIO numero versione in file sorgente!!! */
// bat "fart.exe VersGen\\VersGen.cs 000.000 ${env.versionNumber} || EXIT /B 0"
// parallel (
// LANDING: {
// sleep 5
// bat "\"${tool 'MSBuild-14.0'}\" MP/MP.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
// },
// ADMIN: {
// sleep 0
// bat "\"${tool 'MSBuild-14.0'}\" MP-Admin/MP-Admin.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
// },
// IO: {
// sleep 4
// bat "\"${tool 'MSBuild-14.0'}\" MP-IO/MP-IO.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
// },
// MON: {
// sleep 3
// bat "\"${tool 'MSBuild-14.0'}\" MP-MON/MP-MON.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
// },
// SITE: {
// sleep 1
// bat "\"${tool 'MSBuild-14.0'}\" MP-Site/MP-Site.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
// },
// TABLET: {
// sleep 2
// bat "\"${tool 'MSBuild-14.0'}\" MP-Tablet/MP-Tablet.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
// },
// failFast: false)
// }
// else {
// echo 'Nothing to Build...'
// }
// }
// }
// }
stage('Build') {
agent any
steps {
script {
/* compilo installers in base al BRANCH del cliente... */
if (env.BRANCH_NAME == "develop") {
/* CAMBIO numero versione in file sorgente!!! */
bat "fart.exe VersGen\\VersGen.cs 000.000 ${env.versionNumber} || EXIT /B 0"
parallel (
WEBGIM-SITE: {
sleep 5
bat "\"${tool 'MSBuild-14.0'}\" GIM_site/GIM_site.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
},
failFast: false)
}
else {
echo 'Nothing to Build...'
}
}
}
}
// stage('Test') {
// steps {
// echo 'Testing.. 2 be done...'