Update .gitlab-ci.yml file
This commit is contained in:
+9
-4
@@ -91,13 +91,16 @@ LAND:build:
|
||||
APP_NAME: MP.Land
|
||||
SOL_NAME: MP-LAND
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == "develop"
|
||||
- if: $CI_COMMIT_BRANCH == "master"
|
||||
- if: $CI_COMMIT_BRANCH =~ "/^feature/LAND.+"
|
||||
# - if: $CI_COMMIT_BRANCH =~ /^feature/
|
||||
# when: never
|
||||
- if: $CI_COMMIT_BRANCH == 'develop'
|
||||
- if: $CI_COMMIT_BRANCH == 'master'
|
||||
# - if: $CI_COMMIT_BRANCH =~ /^feature/LAND.+/
|
||||
before_script:
|
||||
- *nuget-fix
|
||||
- dotnet restore "$env:SOL_NAME.sln"
|
||||
script:
|
||||
- echo $CI_COMMIT_BRANCH
|
||||
- dotnet build $env:APP_NAME/$env:APP_NAME.csproj
|
||||
|
||||
PROG:build:
|
||||
@@ -108,9 +111,11 @@ PROG:build:
|
||||
APP_NAME: MP.Prog
|
||||
SOL_NAME: MP-PROG
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH =~ "feature/"
|
||||
when: never
|
||||
- if: $CI_COMMIT_BRANCH == "develop"
|
||||
- if: $CI_COMMIT_BRANCH == "master"
|
||||
# - if: $CI_COMMIT_BRANCH =~ /^feature/PROG*
|
||||
- if: $CI_COMMIT_BRANCH =~ "feature/PROG.+"
|
||||
before_script:
|
||||
- *nuget-fix
|
||||
- dotnet restore "$env:SOL_NAME.sln"
|
||||
|
||||
Reference in New Issue
Block a user