diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0f16cd57..6d1d6dfc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -187,6 +187,19 @@ IOC:build: script: - dotnet build $env:APP_NAME/$env:APP_NAME.csproj +TAB3:build: + stage: build + tags: + - win + variables: + APP_NAME: MP-TAB-SERV + SOL_NAME: MP-TAB3 + before_script: + - *nuget-fix + - dotnet restore "$env:SOL_NAME.sln" + script: + - dotnet build $env:APP_NAME/$env:APP_NAME.csproj + # ----- Start DEPLOY develop (IIS01) ----- LAND:IIS01:deploy: @@ -325,6 +338,23 @@ IOC:IIS01:deploy: - dotnet build $env:APP_NAME/$env:APP_NAME.csproj - dotnet publish -p:PublishProfile=IIS01.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:IIS01:deploy: + stage: deploy + tags: + - win + variables: + APP_NAME: MP-TAB3 + SOL_NAME: MP-TAB-SERV + before_script: + - *nuget-fix + - dotnet restore "$env:SOL_NAME.sln" + only: + - develop + needs: ["TAB3:build"] + script: + - dotnet build $env:APP_NAME/$env:APP_NAME.csproj + - dotnet publish -p:PublishProfile=IIS01.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 DEPLOY master (IIS02/IIS04) ----- LAND:IIS02:deploy: stage: deploy diff --git a/MP-TAB-SERV/MP-TAB-SERV.csproj b/MP-TAB-SERV/MP-TAB-SERV.csproj index d89e269e..a396fbea 100644 --- a/MP-TAB-SERV/MP-TAB-SERV.csproj +++ b/MP-TAB-SERV/MP-TAB-SERV.csproj @@ -11,6 +11,10 @@ + + <_WebToolingArtifacts Remove="Properties\PublishProfiles\IIS01.pubxml" /> + +