diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 378f9e6a..35fab5b7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -566,6 +566,24 @@ IOC:IIS02:deploy: - dotnet publish -p:PublishProfile=IIS02.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=$IIS_PASSWD -p:AllowUntrustedCertificate=true -p:verbosity=quiet $env:APP_NAME/$env:APP_NAME.csproj - dotnet publish -p:PublishProfile=IIS04.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=$IIS_PASSWD -p:AllowUntrustedCertificate=true -p:verbosity=quiet $env:APP_NAME/$env:APP_NAME.csproj +TAB3:IIS02:deploy: + stage: deploy + tags: + - win + variables: + APP_NAME: MP-TAB3 + SOL_NAME: MP-TAB3 + before_script: + - *nuget-fix + - dotnet restore "$env:SOL_NAME.sln" + rules: + - if: $CI_COMMIT_BRANCH == 'master' + needs: ["IOC:build"] + script: + - dotnet build $env:APP_NAME/$env:APP_NAME.csproj + - dotnet publish -p:PublishProfile=IIS02.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=$IIS_PASSWD -p:AllowUntrustedCertificate=true -p:verbosity=quiet $env:APP_NAME/$env:APP_NAME.csproj + - dotnet publish -p:PublishProfile=IIS04.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=$IIS_PASSWD -p:AllowUntrustedCertificate=true -p:verbosity=quiet $env:APP_NAME/$env:APP_NAME.csproj + # ----- Start INSTALLER (develop/master) ----- LAND:installer: stage: installer diff --git a/MP-TAB3/MP-TAB3.csproj b/MP-TAB3/MP-TAB3.csproj index 9ea27865..6c8f14ed 100644 --- a/MP-TAB3/MP-TAB3.csproj +++ b/MP-TAB3/MP-TAB3.csproj @@ -14,6 +14,8 @@ <_WebToolingArtifacts Remove="Properties\PublishProfiles\IIS01.pubxml" /> + <_WebToolingArtifacts Remove="Properties\PublishProfiles\IIS02.pubxml" /> + <_WebToolingArtifacts Remove="Properties\PublishProfiles\IIS04.pubxml" /> <_WebToolingArtifacts Remove="Properties\PublishProfiles\IISProfile.pubxml" /> diff --git a/MP-TAB3/Properties/PublishProfiles/IIS02.pubxml b/MP-TAB3/Properties/PublishProfiles/IIS02.pubxml new file mode 100644 index 00000000..7590d6fc --- /dev/null +++ b/MP-TAB3/Properties/PublishProfiles/IIS02.pubxml @@ -0,0 +1,26 @@ + + + + + MSDeploy + true + Release + Any CPU + https://iis02.egalware.com/MP/TAB3 + false + e7a7c262-7807-4503-949d-5a6fe3df4400 + false + https://iis02.egalware.com:8172/MsDeploy.axd + Default Web Site/MP/TAB3 + + true + WMSVC + true + true + jenkins + <_SavePWD>true + <_TargetId>IISWebDeploy + + \ No newline at end of file diff --git a/MP-TAB3/Properties/PublishProfiles/IIS04.pubxml b/MP-TAB3/Properties/PublishProfiles/IIS04.pubxml new file mode 100644 index 00000000..d13fe48d --- /dev/null +++ b/MP-TAB3/Properties/PublishProfiles/IIS04.pubxml @@ -0,0 +1,26 @@ + + + + + MSDeploy + true + Release + Any CPU + https://iis04.egalware.com/MP/TAB3 + false + e7a7c262-7807-4503-949d-5a6fe3df4400 + false + https://iis04.egalware.com:8172/MsDeploy.axd + Default Web Site/MP/TAB3 + + true + WMSVC + true + true + jenkins + <_SavePWD>true + <_TargetId>IISWebDeploy + + \ No newline at end of file