From 535cf8ecf2419c8f797cb0cc3fb1b6aa9dd79983 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 21 Sep 2021 18:00:49 +0200 Subject: [PATCH] Test separazione in 3 task deploy --- .gitlab-ci.yml | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7ddcd3ff..aa090936 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -92,7 +92,19 @@ test: - dotnet test MP.Stats/MP.Stats.csproj - dotnet test MP.Prog/MP.Prog.csproj -IIS01:deploy: +# IIS01:deploy: +# stage: deploy +# tags: +# - win +# # only: +# # - develop +# needs: ["test"] +# script: +# - dotnet publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true MP.Land/MP.Land.csproj +# - dotnet publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true MP.Prog/MP.Prog.csproj +# - dotnet publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true MP.Stats/MP.Stats.csproj + +LAND:IIS01:deploy: stage: deploy tags: - win @@ -101,10 +113,31 @@ IIS01:deploy: needs: ["test"] script: - dotnet publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true MP.Land/MP.Land.csproj + +PROG:IIS01:deploy: + stage: deploy + tags: + - win + # only: + # - develop + needs: ["test"] + script: - dotnet publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true MP.Prog/MP.Prog.csproj + + +STAT:IIS01:deploy: + stage: deploy + tags: + - win + # only: + # - develop + needs: ["test"] + script: - dotnet publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true MP.Stats/MP.Stats.csproj + + IIS02:deploy: stage: deploy tags: