From fc32a1e246c65a4ca0cc06b606e2bc8170c21d33 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Tue, 11 Apr 2017 15:47:31 +0200 Subject: [PATCH] inseriti tutti i deploy, scambiato deploy x HOME --- Jenkinsfile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 84f4469..c048c75 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -43,11 +43,11 @@ pipeline { echo 'Build SMART Release' bat "\"${tool 'MSBuild-14.0'}\" GPW_Smart\\GPW_Smart.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ /m" }, - /*COMMESSE: { + COMMESSE: { sleep 3 echo 'Build COMMESSE Release' bat "\"${tool 'MSBuild-14.0'}\" GPW_Commesse\\GPW_Commesse.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ /m" - },*/ + }, failFast: false) } } @@ -61,8 +61,9 @@ pipeline { parallel ( HOME: { echo 'DEPLOY HOME IIS01/IIS02' - 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=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ HOME/HOME.csproj" - /*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=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ HOME/HOME.csproj"*/ + 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=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ HOME/HOME.csproj" + + /*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=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ HOME/HOME.csproj"*/ }, ADMIN: { sleep 0 @@ -82,12 +83,12 @@ pipeline { bat "\"${tool 'MSBuild-14.0'}\" GPW_Smart\\GPW_Smart.csproj /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=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ /m" bat "\"${tool 'MSBuild-14.0'}\" GPW_Smart\\GPW_Smart.csproj /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=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ /m" }, - /*COMMESSE: { + COMMESSE: { sleep 3 echo 'Build COMMESSE Release' bat "\"${tool 'MSBuild-14.0'}\" GPW_Commesse\\GPW_Commesse.csproj /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=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ /m" bat "\"${tool 'MSBuild-14.0'}\" GPW_Commesse\\GPW_Commesse.csproj /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=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ /m" - },*/ + }, failFast: false) } }