From cc28140d646fbc5fc4327affca5798b1cece6902 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Fri, 27 Sep 2019 14:25:05 +0200 Subject: [PATCH] Fino a test... --- Jenkinsfile | 60 ++++++++++++++++++++++++++--------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e62b6b9..0742c28 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -35,36 +35,36 @@ pipeline { bat "e:\\nuget.exe restore ${WORKSPACE}\\GPW.sln" } } - // stage('Build') { - // agent any - // steps { - // parallel ( - // HOME: { - // sleep 2 - // bat "\"${tool 'MSBuild-15.0'}\" HOME\\HOME.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" - // }, - // ADMIN: { - // bat "\"${tool 'MSBuild-15.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-15.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-15.0'}\" GPW_Smart\\GPW_Smart.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" - // }, - // COMMESSE: { - // bat "\"${tool 'MSBuild-15.0'}\" GPW_Commesse\\GPW_Commesse.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" - // }, - // failFast: false) - // } - // } - // stage('Test') { - // steps { - // echo 'Testing.. 2 be done...' - // } - // } + stage('Build') { + agent any + steps { + parallel ( + HOME: { + sleep 2 + bat "\"${tool 'MSBuild-15.0'}\" HOME\\HOME.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" + }, + ADMIN: { + bat "\"${tool 'MSBuild-15.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-15.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-15.0'}\" GPW_Smart\\GPW_Smart.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" + }, + COMMESSE: { + bat "\"${tool 'MSBuild-15.0'}\" GPW_Commesse\\GPW_Commesse.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" + }, + failFast: false) + } + } + stage('Test') { + steps { + echo 'Testing.. 2 be done...' + } + } // stage('Deploy') { // agent any // steps {