From 4b2b969c57c28ea1acb6d9cfa6e00168191e58e4 Mon Sep 17 00:00:00 2001
From: Dennis <dennis.glaeser@iws.uni-stuttgart.de>
Date: Thu, 20 May 2021 07:40:52 +0200
Subject: [PATCH] [ci] print trigger source var in job

This can help interpreting the ci logic once we add pipelines for more
events.
---
 .gitlab-ci/default.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci/default.yml b/.gitlab-ci/default.yml
index 4aa22c270e..4264f87271 100644
--- a/.gitlab-ci/default.yml
+++ b/.gitlab-ci/default.yml
@@ -25,6 +25,7 @@ select tests:
           python3 bin/testing/getchangedfiles.py -o changedfiles.txt -t origin/$MR_TARGET_BRANCH_NAME
           python3 bin/testing/findtests.py -o affectedtests.json --file-list changedfiles.txt --build-dir build-cmake
       else
+          echo "Received '$TRIGGER_SOURCE' as pipeline trigger event"
           echo "Skipping test selection, build/test stages will consider all tests!"
           echo "{}" >> ../affectedtests.json
       fi
-- 
GitLab