Skip to content
Snippets Groups Projects
Commit 5e6cab79 authored by David Gilbert's avatar David Gilbert :bug:
Browse files

Update plugins.gitlab-ci.yml to use rules instead of only

parent ac801c6d
No related branches found
No related tags found
No related merge requests found
...@@ -46,11 +46,15 @@ stages: ...@@ -46,11 +46,15 @@ stages:
# - deploy # - deploy
Generate_Project: Generate_Project:
only: ['web', 'schedules'] rules:
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "schedule"
extends: .Generate_Project_ extends: .Generate_Project_
Build_Windows: Build_Windows:
only: ['web', 'schedules'] rules:
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "schedule"
extends: .Build_Windows_ extends: .Build_Windows_
tags: tags:
- windows - windows
...@@ -65,7 +69,9 @@ Build_Windows: ...@@ -65,7 +69,9 @@ Build_Windows:
artifacts: true artifacts: true
Build_Linux: Build_Linux:
only: ['web', 'schedules'] rules:
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "schedule"
extends: .Build_Linux_ extends: .Build_Linux_
tags: tags:
- linux - linux
...@@ -80,14 +86,18 @@ Build_Linux: ...@@ -80,14 +86,18 @@ Build_Linux:
artifacts: true artifacts: true
#Deploy_Windows: #Deploy_Windows:
# only: ['web', 'schedules'] # rules:
# - if: $CI_PIPELINE_SOURCE == "web"
# - if: $CI_PIPELINE_SOURCE == "schedule"
# extends: .Deploy_VRDev_ # extends: .Deploy_VRDev_
# needs: # needs:
# - job: "Build_Windows" # - job: "Build_Windows"
# artifacts: true # artifacts: true
# #
#Deploy_CAVE: #Deploy_CAVE:
# only: ['web', 'schedules'] # rules:
# - if: $CI_PIPELINE_SOURCE == "web"
# - if: $CI_PIPELINE_SOURCE == "schedule"
# extends: .Deploy_CAVE_ # extends: .Deploy_CAVE_
# needs: # needs:
# - job: "Build_Linux" # - job: "Build_Linux"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment