From dfe5fcdbcfeecb054561e4dead755ee29653f525 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli (WEB DEV)" Date: Tue, 11 Apr 2017 22:06:43 +0200 Subject: [PATCH] inserito anche smart.. --- Jenkinsfile | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2e9334f..72c207a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -86,12 +86,6 @@ pipeline { } bat "\"${tool 'MSBuild-14.0'}\" \"/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:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ GPW_Admin/GPW_Admin.csproj" }, - /*failFast: false) - } - } - stage('Deploy BARCODE') { - steps { - parallel (*/ BCODE_IIS01: { dir("STEAMW-STASH") { unstash "STEAMW-STASH" @@ -104,16 +98,16 @@ pipeline { } bat "\"${tool 'MSBuild-14.0'}\" \"/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:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ GPW_Barcode/GPW_Barcode.csproj" }, - failFast: false) - } - } - stage('Deploy SMART') { - steps { - parallel ( - IIS01: { + SMART_IIS01: { + dir("STEAMW-STASH") { + unstash "STEAMW-STASH" + } bat "\"${tool 'MSBuild-14.0'}\" \"/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:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ GPW_Smart/GPW_Smart.csproj" }, - IIS02: { + SMART_IIS02: { + dir("STEAMW-STASH") { + unstash "STEAMW-STASH" + } bat "\"${tool 'MSBuild-14.0'}\" \"/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:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ GPW_Smart/GPW_Smart.csproj" }, failFast: false)