diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fe7272c..9a1f61f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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