From 7b5a7cc9e2add8525f712c88a49d32f63b80ccad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20KUBLER?= <gregoire.kubler@proton.me> Date: Fri, 22 Mar 2024 13:59:06 +0100 Subject: [PATCH] chore : debug print --- .gitlab/ci/build.gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab/ci/build.gitlab-ci.yml b/.gitlab/ci/build.gitlab-ci.yml index 454a7f2e..79010b58 100644 --- a/.gitlab/ci/build.gitlab-ci.yml +++ b/.gitlab/ci/build.gitlab-ci.yml @@ -17,6 +17,10 @@ build:ubuntu_cpp: # Check if a branch with the same name exist on the dependency repository - BRANCH_TO_PULL="dev" # default branch - set -x + # Get project information + - PROJECT_INFO=$(curl -s --header "PRIVATE-TOKEN:${CI_JOB_TOKEN}" "${API_URL}/projects/${PROJECT_PATH}") + # Parse owner information + - OWNER=$(echo "$PROJECT_INFO" | jq -r '.owner') - > if [ "$CI_MERGE_REQUEST_ID" ]; then # CASE MERGE REQUEST echo "Merge request pipeline detected" -- GitLab