From 5f96375ee353df7aafc050aeaff719c9bfc1c0ed Mon Sep 17 00:00:00 2001 From: Christos Tsolakis <christos.tsolakis@kitware.com> Date: Thu, 21 Sep 2023 12:10:59 -0400 Subject: [PATCH] ci: Add Dummy job to ensure there is always a successful job. Add a job that always exists and succeeds so that we pass the robot check when all jobs are skipped due to the new rule. --- .gitlab-ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b55119ac15b..ef798f4f36a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,6 +37,23 @@ stages: # Linux +## Dummy +# A job that always succeeds so that we pass the robot check when all jobs are +# skipped due to certain rules + +dummy:build: + stage: build + extends: + - .linux_builder_tags + rules: + - if: '$CI_MERGE_REQUEST_ID' + when: on_success + - if: '$CI_PROJECT_PATH == "vtk/vtk"' + when: on_success + - when: never + script: + - echo "dummy" + ## Basic builds el7-mindeps-python-qt5:build: -- GitLab