diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e73dac637263d0cf8139ad825ff10ae90207ac66..af64a4722a12f9ee863aa93a92ef6dbefc660f03 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -136,9 +136,11 @@ FileEndCheck: .build_and_test: &build_and_test before_script: - if [ "$CI_MERGE_REQUEST_PROJECT_PATH" != "computing/cbmroot" ]; then - - echo "Should not come here" - - env - - exit 1 + - if [ "$CI_PROJECT_PATH" != "computing/cbmroot" ]; then + - echo "Should not come here" + - env + - exit 1 + - fi - fi script: - echo "export LINUX_FLAVOUR=$OS" >> Dart.cfg