From e0b95d5b20baad1faf6f51e2855a11b2df7d8ea0 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Mon, 11 Apr 2022 15:10:20 +0200 Subject: [PATCH] Correzione finale pubblicazione in master --- .gitlab-ci.yml | 12 ++++++------ QR-GEN/Properties/PublishProfiles/OVH-PROD.pubxml | 2 +- .../Properties/PublishProfiles/OVH-PROD.pubxml.user | 1 + 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5c51564..7d6d91b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -108,7 +108,7 @@ Zcode:IIS01:deploy: - '& "$env:NUGET_PATH" restore $env:APP_NAME.sln -Verbosity quiet' - *version-fix 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=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /verbosity:minimal $env:APP_NAME/$env:APP_NAME.csproj' + - '& "$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 $env:APP_NAME/$env:APP_NAME.csproj' needs: ["Zcode:build"] Zcode:IIS02:deploy: @@ -124,7 +124,7 @@ Zcode:IIS02:deploy: - '& "$env:NUGET_PATH" restore $env:APP_NAME.sln -Verbosity quiet' - *version-fix script: - - '& "$env:MSBUILD_PATH" /p:m=8 /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 $env:APP_NAME/$env:APP_NAME.csproj' + - '& "$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 $env:APP_NAME/$env:APP_NAME.csproj' needs: ["Zcode:build"] Zcode:IIS03:deploy: @@ -140,14 +140,14 @@ Zcode:IIS03:deploy: - '& "$env:NUGET_PATH" restore $env:APP_NAME.sln -Verbosity quiet' - *version-fix script: - - '& "$env:MSBUILD_PATH" /p:m=8 /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS03.pubxml /p:RunCodeAnalysis=false /p:Configuration=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /verbosity:minimal $env:APP_NAME/$env:APP_NAME.csproj' + - '& "$env:MSBUILD_PATH" /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS03.pubxml /p:RunCodeAnalysis=false /p:Configuration=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /verbosity:minimal $env:APP_NAME/$env:APP_NAME.csproj' needs: ["Zcode:build"] Zcode:OVH:release: stage: release tags: - win - except: + only: refs: - main - master @@ -156,7 +156,7 @@ Zcode:OVH:release: - '& "$env:NUGET_PATH" restore $env:APP_NAME.sln -Verbosity quiet' - *version-fix script: - - '& "$env:MSBUILD_PATH" /p:m=8 /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=OVH-PROD.pubxml /p:RunCodeAnalysis=false /p:Configuration=Release /p:username=steamware /p:Password=viaD@nte16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /verbosity:minimal $env:APP_NAME/$env:APP_NAME.csproj' + - '& "$env:MSBUILD_PATH" /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=OVH-PROD.pubxml /p:RunCodeAnalysis=false /p:Configuration=Release /p:username=steamware /p:Password=viaD@nte16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /verbosity:minimal $env:APP_NAME/$env:APP_NAME.csproj' needs: ["Zcode:build"] Zcode:File:release: @@ -172,7 +172,7 @@ Zcode:File:release: - '& "$env:NUGET_PATH" restore $env:APP_NAME.sln -Verbosity quiet' - *version-fix script: - - '& "$env:MSBUILD_PATH" /p:m=8 /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=FileExport.pubxml /p:RunCodeAnalysis=false /p:Configuration=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /verbosity:minimal $env:APP_NAME/$env:APP_NAME.csproj' + - '& "$env:MSBUILD_PATH" /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=FileExport.pubxml /p:RunCodeAnalysis=false /p:Configuration=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /verbosity:minimal $env:APP_NAME/$env:APP_NAME.csproj' - *hashBuild - *nexusUpload needs: ["Zcode:build"] diff --git a/QR-GEN/Properties/PublishProfiles/OVH-PROD.pubxml b/QR-GEN/Properties/PublishProfiles/OVH-PROD.pubxml index be42943..7070c67 100644 --- a/QR-GEN/Properties/PublishProfiles/OVH-PROD.pubxml +++ b/QR-GEN/Properties/PublishProfiles/OVH-PROD.pubxml @@ -14,7 +14,7 @@ modificando il file MSBuild. Per altre informazioni su questo argomento, vedere https://172.16.0.214:8172/MsDeploy.axd qrcode.steamware.net - true + false WMSVC true steamware diff --git a/QR-GEN/Properties/PublishProfiles/OVH-PROD.pubxml.user b/QR-GEN/Properties/PublishProfiles/OVH-PROD.pubxml.user index 3f1c56e..20ee716 100644 --- a/QR-GEN/Properties/PublishProfiles/OVH-PROD.pubxml.user +++ b/QR-GEN/Properties/PublishProfiles/OVH-PROD.pubxml.user @@ -7,5 +7,6 @@ modificando il file MSBuild. Per altre informazioni su questo argomento, vedere AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAw3dMMgC4FUywyOTV2xvCRgAAAAACAAAAAAADZgAAwAAAABAAAAA85eiHosnLZKazr6wK6WfJAAAAAASAAACgAAAAEAAAABhoEMLX9TA+Kp5dsd8O/KgYAAAAsf9Ap2KAI6JCWzjaN1NV3PQO8F6pUIFBFAAAAKE6Rw49Z7t03hkWxf0ADxRSQwF9 + True|2022-04-11T13:08:00.6598223Z;False|2022-04-11T15:05:00.5236071+02:00;False|2022-04-11T15:01:15.6459241+02:00; \ No newline at end of file