Test separazione in 3 task deploy

This commit is contained in:
Samuele Locatelli
2021-09-21 18:00:49 +02:00
parent 54b384cb92
commit 535cf8ecf2
+34 -1
View File
@@ -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: