fix if/when

This commit is contained in:
Samuele Locatelli
2021-04-01 12:03:56 +02:00
parent 56b0efa9bc
commit 2e26cb071a
+4 -7
View File
@@ -188,6 +188,8 @@ AC:install:
stage: installer
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
when:
manual
# only:
# - tags # the build process will only be started by git tag commits
before_script:
@@ -200,9 +202,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"]
# dependencies:
# - admin:build
# - test_job
when:
manual
@@ -210,8 +209,8 @@ BHS:install:
stage: installer
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
# only:
# - tags # the build process will only be started by git tag commits
when:
manual
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore GPW.sln'
@@ -224,5 +223,3 @@ BHS:install:
# 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_Smart.zip /p:DeployIisAppPath="Default Web Site/GPW/ADMIN" /p:PackageAsSingleFile=True /p:OutputPath=bin/ GPW_Smart/GPW_Smart.csproj'
needs: ["BHS:build"]
when:
manual