From bc37cecd82e463dedd0ddc1881502609a4238c72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20KUBLER?= <gregoire.kubler@proton.me> Date: Wed, 20 Mar 2024 17:23:56 +0100 Subject: [PATCH] chore : debug --- .gitlab/ci/build.gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab/ci/build.gitlab-ci.yml b/.gitlab/ci/build.gitlab-ci.yml index ce4570a2..e4b69fef 100644 --- a/.gitlab/ci/build.gitlab-ci.yml +++ b/.gitlab/ci/build.gitlab-ci.yml @@ -44,7 +44,8 @@ build:ubuntu_cpp: else # case for fork echo "Retrieving build_artifacts from hrouis' forked project." USER_ID=17216 - DEPENDENCY_ID=$(curl 'https://gitlab.eclipse.org/api/v4/users/$USER_ID/projects?search=aidge_core' | jq -r '.[0].id') + DEPENDENCY_ID=$(curl 'https://gitlab.eclipse.org/api/v4/users/$USER_ID/projects?search=aidge_core') + DEPENDENCY_ID=$($DEPENDENCY_ID | jq -r '.[0].id') # retrieve latest pipeline of given branch, independant from its success or failure PIPELINE_ID=$(curl 'https://gitlab.eclipse.org/api/v4/projects/$DEPENDENCY_ID/pipelines?ref=${BRANCH_TO_PULL}&order_by=updated_at&sort=desc' | jq -r '.[0].id') JOB_ID=$(curl "https://gitlab.eclipse.org/api/v4/projects/$DEPENDENCY_ID/pipelines/$PIPELINE_ID/jobs" | jq 'map(select(.name == ${DEPENDENCY_JOB})) | .[0].id') -- GitLab