Update yaml x eliminare pubblicazione CORE

This commit is contained in:
Samuele Locatelli
2022-01-28 10:51:20 +01:00
parent 1ca60db13c
commit 1f0a230752
-37
View File
@@ -45,7 +45,6 @@ stages:
- deploy
- installer
AC:build:
stage: build
tags:
@@ -82,16 +81,6 @@ Smart:build:
script:
- '& "$env:MSBUILD_PATH" GPW_Smart/GPW_Smart.csproj -target:Build /p:Configuration=Release /p:Platform="Any CPU" /p:OutputPath=bin/ /verbosity:minimal /m'
CORE.WLOG:build:
stage: build
tags:
- win
before_script:
- *nuget-fix
- dotnet restore GPW.CORE.UI.sln
script:
- dotnet build GPW.CORE.UI/GPW.CORE.UI.csproj
AC:staging:
stage: staging
tags:
@@ -135,17 +124,6 @@ Smart:staging:
script:
- '& "$env:MSBUILD_PATH" /p:m=8 /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /verbosity:minimal GPW_Smart/GPW_Smart.csproj'
needs: ["Smart:build"]
CORE.WLOG:staging:
stage: staging
tags:
- win
only:
- develop
needs: ["CORE.WLOG:build"]
script:
- dotnet publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true GPW.CORE.UI/GPW.CORE.UI.csproj
AC:deploy:
stage: deploy
@@ -213,20 +191,6 @@ Smart:deploy:
- '& "$env:MSBUILD_PATH" /p:m=8 /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IISDEV.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /verbosity:minimal GPW_Smart/GPW_Smart.csproj'
needs: ["Smart:build"]
CORE.WLOG:deploy:
stage: deploy
tags:
- win
only:
- develop
needs: ["CORE.WLOG:build"]
script:
# IIS 02
- dotnet publish -p:PublishProfile=IIS02.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true GPW.CORE.UI/GPW.CORE.UI.csproj
# IIS DEV
- dotnet publish -p:PublishProfile=W2019-IIS-DEV.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true GPW.CORE.UI/GPW.CORE.UI.csproj
AC:install:
stage: installer
tags:
@@ -246,7 +210,6 @@ AC:install:
# Commesse ZIP package
- '& "$env:MSBUILD_PATH" /p:m=8 /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /T:Package /P:Configuration=SPS /p:PublishProfile=SPS.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/SPS_PROD/$env:NEW_REL/GPW_Commesse.zip /p:DeployIisAppPath="Default Web Site/GPW/ADMIN" /p:PackageAsSingleFile=True /p:OutputPath=bin/ GPW_Commesse/GPW_Commesse.csproj'
needs: ["AC:build"]
BH:install:
stage: installer