From d30b45cd70ca4c6391d1c91827c8bc6e2517298d Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Tue, 11 Apr 2017 15:24:44 +0200 Subject: [PATCH] update pubblicazione x HOME... --- HOME/Properties/PublishProfiles/IIS01.pubxml | 4 +++- HOME/Properties/PublishProfiles/IIS02.pubxml | 3 +++ Jenkinsfile | 10 +++++----- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/HOME/Properties/PublishProfiles/IIS01.pubxml b/HOME/Properties/PublishProfiles/IIS01.pubxml index 00c724a..d590655 100644 --- a/HOME/Properties/PublishProfiles/IIS01.pubxml +++ b/HOME/Properties/PublishProfiles/IIS01.pubxml @@ -35,7 +35,9 @@ modificando il file MSBuild. Per altre informazioni su questo argomento, vedere DonotMerge - + + False + False diff --git a/HOME/Properties/PublishProfiles/IIS02.pubxml b/HOME/Properties/PublishProfiles/IIS02.pubxml index d1db051..58cfe64 100644 --- a/HOME/Properties/PublishProfiles/IIS02.pubxml +++ b/HOME/Properties/PublishProfiles/IIS02.pubxml @@ -41,5 +41,8 @@ modificando il file MSBuild. Per altre informazioni su questo argomento, vedere False + + False + \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile index da3fc5f..f2218bb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -56,14 +56,14 @@ pipeline { echo 'Testing.. 2 be done...' } } - stage('Deploy') { + stage('Deploy IIS01/IIS02') { steps { parallel ( - /*HOME_IIS01_IIS02: { + HOME: { echo 'DEPLOY HOME IIS01/IIS02' - bat "\"${tool 'MSBuild-14.0'}\" HOME\\HOME.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'}\" HOME\\HOME.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" - },*/ + 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 echo 'Build ADMIN Release'