From d96853acce7db53acdbade337643eac52dce5b53 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Fri, 27 Nov 2020 17:09:27 +0100 Subject: [PATCH] fix: tutto in serie --- Jenkinsfile | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index a346207c..c9e72bf1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -49,13 +49,13 @@ pipeline { /* compilo installers in base al BRANCH del cliente... */ if (env.BRANCH_NAME == "develop") { parallel ( - ADM_IO_SITE: { + ALL: { bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 MP-ADM/MP-ADM.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 MP-IO/MP-IO.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 MP-SITE/MP-SITE.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" // }, // LAND_MON_TAB: { - sleep 1 + // sleep 1 bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 MP-LAND/MP-LAND.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 MP-MON/MP-MON.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 MP-TAB/MP-TAB.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" @@ -82,7 +82,7 @@ pipeline { /* DEPLOY condizionale: master (Ufficio Seriate) / demo_ovh (Demo Online) */ if (env.BRANCH_NAME == "master") { parallel ( - ADM_IO_SITE: { + ALL: { sleep 2 if(env.enableIIS02 == "Y") { @@ -92,12 +92,12 @@ pipeline { bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=6 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-IO/MP-IO.csproj" // SITE bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=6 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-SITE/MP-SITE.csproj" - } - }, - LAND_MON_TAB: { - sleep 0 - if(env.enableIIS02 == "Y") - { + // } + // }, + // LAND_MON_TAB: { + // sleep 0 + // if(env.enableIIS02 == "Y") + // { //LAND bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=6 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:RunCodeAnalysis=false /p:Configuration=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-LAND/MP-LAND.csproj" // MON @@ -110,7 +110,7 @@ pipeline { } if (env.BRANCH_NAME == "beta") { parallel ( - ADM_IO_SITE: { + ALL: { sleep 2 if(env.enableIIS01 == "Y") { @@ -120,12 +120,12 @@ pipeline { bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=6 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-IO/MP-IO.csproj" // SITE bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=6 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-SITE/MP-SITE.csproj" - } - }, - LAND_MON_TAB: { - sleep 0 - if(env.enableIIS01 == "Y") - { + // } + // }, + // LAND_MON_TAB: { + // sleep 0 + // if(env.enableIIS01 == "Y") + // { // LAND bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=6 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-LAND/MP-LAND.csproj" // MON @@ -175,7 +175,7 @@ pipeline { /* compilo installers SOLO stable / beta */ if (env.BRANCH_NAME == "stable" || env.BRANCH_NAME.contains("beta") ) { parallel ( - ADM_IO_SITE: { + ALL: { // ADM bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=6 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=Prod /p:PublishProfile=${env.BRANCH_NAME}.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/${env.BRANCH_NAME}/ADM.zip /p:DeployIisAppPath=\"Default Web Site/MP/ADM\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ MP-ADM/MP-ADM.csproj" // pubblico su server deploy!