From 941e6f5e11e8c0598c449f3ad02ee0d48beb0f05 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Thu, 6 Apr 2023 14:45:51 +0200 Subject: [PATCH 1/2] fix yaml CI/CD deploy --- .../Properties/PublishProfiles/IIS04.pubxml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 NKC_WF/Properties/PublishProfiles/IIS04.pubxml diff --git a/NKC_WF/Properties/PublishProfiles/IIS04.pubxml b/NKC_WF/Properties/PublishProfiles/IIS04.pubxml new file mode 100644 index 0000000..dc72b28 --- /dev/null +++ b/NKC_WF/Properties/PublishProfiles/IIS04.pubxml @@ -0,0 +1,46 @@ + + + + + MSDeploy + Release + Any CPU + + True + True + True + False + DonotMerge + True + https://IIS02:8172/MsDeploy.axd + Default Web Site/NKC + + False + WMSVC + True + jenkins + <_SavePWD>True + + + + + + + + + + + + + + + + + + False + + + \ No newline at end of file From 8cd2529b482773abd523dbed19bf34a83c959583 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Thu, 6 Apr 2023 14:45:58 +0200 Subject: [PATCH 2/2] update deploy yaml --- .gitlab-ci.yml | 2 +- NKC_WF/NKC_WF.csproj | 1 + NKC_WF/Properties/PublishProfiles/IIS04.pubxml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e57bf89..9aab0aa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -153,7 +153,7 @@ Core:IIS02:deploy: needs: ["Core:build"] script: - dotnet publish -p:PublishProfile=IIS02.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true REMAN/REMAN.csproj - - dotnet publish -p:PublishProfile=IIS03.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true REMAN/REMAN.csproj + - dotnet publish -p:PublishProfile=IIS04.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true REMAN/REMAN.csproj diff --git a/NKC_WF/NKC_WF.csproj b/NKC_WF/NKC_WF.csproj index d214f5d..7c0da68 100644 --- a/NKC_WF/NKC_WF.csproj +++ b/NKC_WF/NKC_WF.csproj @@ -348,6 +348,7 @@ + diff --git a/NKC_WF/Properties/PublishProfiles/IIS04.pubxml b/NKC_WF/Properties/PublishProfiles/IIS04.pubxml index dc72b28..6a2372d 100644 --- a/NKC_WF/Properties/PublishProfiles/IIS04.pubxml +++ b/NKC_WF/Properties/PublishProfiles/IIS04.pubxml @@ -15,7 +15,7 @@ modificando il file MSBuild. Per altre informazioni su questo argomento, vedere False DonotMerge True - https://IIS02:8172/MsDeploy.axd + https://IIS04:8172/MsDeploy.axd Default Web Site/NKC False