tolto sleep a 0, inserito agent 'master' al posto di any...

This commit is contained in:
Samuele E. Locatelli
2017-04-12 15:39:03 +02:00
parent d795212a68
commit d89d3af2ea
Vendored
+5 -9
View File
@@ -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") {