From 50f212d8c061a6d2377d2aa382783765432dfd32 Mon Sep 17 00:00:00 2001
From: Alexander Samusev <41779041+alvicsam@users.noreply.github.com>
Date: Wed, 14 Dec 2022 12:02:56 +0100
Subject: [PATCH] [ci] small fix for job switcher (#1990)

---
 cumulus/.gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cumulus/.gitlab-ci.yml b/cumulus/.gitlab-ci.yml
index 51becc0f8f9..294acd5f6ae 100644
--- a/cumulus/.gitlab-ci.yml
+++ b/cumulus/.gitlab-ci.yml
@@ -44,6 +44,7 @@ variables:
 # they will be used if the job fails
 .pipeline-stopper-vars:
   before_script:
+    - !reference [.job-switcher, before_script]
     - echo "FAILED_JOB_URL=${CI_JOB_URL}" > pipeline-stopper.env
     - echo "FAILED_JOB_NAME=${CI_JOB_NAME}" >> pipeline-stopper.env
     - echo "FAILED_JOB_NAME=${CI_JOB_NAME}" >> pipeline-stopper.env
@@ -181,4 +182,3 @@ remove-cancel-pipeline-message:
     PR_NUM:                        "${CI_COMMIT_REF_NAME}"
   trigger:
     project:                       "parity/infrastructure/ci_cd/pipeline-stopper"
-    branch:                        "as-improve"
-- 
GitLab