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:
# - deploy
Generate_Project:
only: ['web', 'schedules']
rules:
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "schedule"
extends: .Generate_Project_
Build_Windows:
only: ['web', 'schedules']
rules:
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "schedule"
extends: .Build_Windows_
tags:
- windows
......@@ -65,7 +69,9 @@ Build_Windows:
artifacts: true
Build_Linux:
only: ['web', 'schedules']
rules:
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "schedule"
extends: .Build_Linux_
tags:
- linux
......@@ -80,14 +86,18 @@ Build_Linux:
artifacts: true
#Deploy_Windows:
# only: ['web', 'schedules']
# rules:
# - if: $CI_PIPELINE_SOURCE == "web"
# - if: $CI_PIPELINE_SOURCE == "schedule"
# extends: .Deploy_VRDev_
# needs:
# - job: "Build_Windows"
# artifacts: true
#
#Deploy_CAVE:
# only: ['web', 'schedules']
# rules:
# - if: $CI_PIPELINE_SOURCE == "web"
# - if: $CI_PIPELINE_SOURCE == "schedule"
# extends: .Deploy_CAVE_
# needs:
# - job: "Build_Linux"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment