From 8dc640285014a4239efb46a751498e6455100332 Mon Sep 17 00:00:00 2001 From: cmoineau <cyril.moineau@cea.fr> Date: Wed, 31 Jan 2024 13:46:58 +0000 Subject: [PATCH] update var name --- .gitlab/ci/shared_test.gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab/ci/shared_test.gitlab-ci.yml b/.gitlab/ci/shared_test.gitlab-ci.yml index 0a7c746..9c1e23d 100644 --- a/.gitlab/ci/shared_test.gitlab-ci.yml +++ b/.gitlab/ci/shared_test.gitlab-ci.yml @@ -9,8 +9,8 @@ shared_job: script: - GROUP_ID=$(curl "https://gitlab.eclipse.org/api/v4/groups?search=aidge" | grep -m1 -oP '"id":\s*\K\d+') - PROJECT_ID=$(curl "https://gitlab.eclipse.org/api/v4/groups/$GROUP_ID/projects?search=$DEPENDENCY_NAME" | grep -m1 -oP '"id":\s*\K\d+') - - echo "try to pull from $CURRENT_BRANCH" - - echo "try to pull from $CURRENT_BRANCH" + - echo "https://gitlab.eclipse.org/api/v4/projects/$PROJECT_ID/jobs/artifacts/main/download?job=$JOB" + - echo "https://gitlab.eclipse.org/eclipse/aidge/$DEPENDENCY_NAME/-/tree/$CURRENT_BRANCH" # Check if a branch with the same name exist on the dependance repository - RESPONSE_CODE=$(curl -s -o /dev/null -w "%{http_code}" "https://gitlab.eclipse.org/eclipse/aidge/$DEPENDENCY_NAME/-/tree/$CURRENT_BRANCH") - > -- GitLab