diff --git a/Jenkinsfile b/Jenkinsfile index 399c41c..c9b006a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,7 +2,7 @@ pipeline { agent none stages { stage('Checkout') { - agent any + agent 'master' steps { /* build delle SteamWare libs! */ /*build 'SteamWare/SteamWareLib'*/ @@ -38,39 +38,35 @@ pipeline { } } stage('Build') { - agent any + agent 'master' steps { parallel ( HOME: { bat "\"${tool 'MSBuild-14.0'}\" HOME\\HOME.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" }, ADMIN: { - sleep 0 bat "\"${tool 'MSBuild-14.0'}\" GPW_Admin\\GPW_Admin.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" }, BARCODE: { - sleep 0 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 0 bat "\"${tool 'MSBuild-14.0'}\" GPW_Smart\\GPW_Smart.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" }, COMMESSE: { - sleep 0 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') { - agent any + agent 'master' steps { echo 'Testing.. 2 be done...' } } stage('Deploy') { - agent any + agent 'master' steps { script { if (env.BRANCH_NAME == "master") { @@ -112,7 +108,7 @@ pipeline { } } stage('Installers') { - agent any + agent 'master' steps { script { if (env.BRANCH_NAME == "master") {