From 8a600114d05ec35ee402b0959f4fc2efe8bfcf96 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Mon, 11 Apr 2022 19:17:20 +0200 Subject: [PATCH] completato deploy su IIS01/02/03 --- .gitlab-ci.yml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 10781a7..03e80e0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -123,23 +123,23 @@ WebLCP:IIS01:deploy: - '& "$env:MSBUILD_PATH" /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /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/ /verbosity:minimal INTERFACE/$env:APP_NAME/$env:APP_NAME.csproj' needs: ["WebLCP:build"] -# WebLCP:IIS02:deploy: -# stage: deploy -# tags: -# - win -# variables: -# APP_NAME: WebLCP -# except: -# refs: -# - main -# - master -# before_script: -# - *nuget-fix -# - '& "$env:NUGET_PATH" restore INTERFACE\$env:SOL_NAME.sln -Verbosity quiet' -# - *version-fix -# script: -# - '& "$env:MSBUILD_PATH" /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /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/ /verbosity:minimal INTERFACE/$env:APP_NAME/$env:APP_NAME.csproj' -# needs: ["WebLCP:build"] +WebLCP:IIS02:deploy: + stage: deploy + tags: + - win + variables: + APP_NAME: WebLCP + except: + refs: + - main + - master + before_script: + - *nuget-fix + - '& "$env:NUGET_PATH" restore INTERFACE\$env:SOL_NAME.sln -Verbosity quiet' + - *version-fix + script: + - '& "$env:MSBUILD_PATH" /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /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/ /verbosity:minimal INTERFACE/$env:APP_NAME/$env:APP_NAME.csproj' + needs: ["WebLCP:build"] WebLCP:IIS03:deploy: stage: deploy