Skip to content
Snippets Groups Projects
Commit 4a5322eb authored by Administrator's avatar Administrator
Browse files

Run merge pipline only for MR to computing/master

parent e54ea37c
No related branches found
No related tags found
No related merge requests found
......@@ -82,18 +82,21 @@ CbmRoot_Merge:
stage: build
tags:
- CbmRoot
only:
- merge_requests
# only:
# variables:
# - $CI_MERGE_REQUEST_PROJECT_PATH == "computing/cbmroot"
# - merge_requests
only:
refs:
- merge_requests
variables:
- $CI_MERGE_REQUEST_PROJECT_PATH == "computing/cbmroot"
script:
# - set -xv
- set -xv
- echo $CI_MERGE_REQUEST_SOURCE_PROJECT_PATH
- echo $CI_MERGE_REQUEST_PROJECT_PATH
# - if [ "$CI_MERGE_REQUEST_PROJECT_PATH" == "computing/cbmroot" ]; then
# - echo "Here"
# - fi
- if [ "$CI_MERGE_REQUEST_PROJECT_PATH" != "computing/cbmroot" ]; then
- echo "Should not come here"
- exit 1
- fi
- echo $CI_MERGE_REQUEST_TARGET_BRANCH_NAME
- echo $CI_MERGE_REQUEST_ID
- echo $CI_MERGE_REQUEST_IID
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment