diff --git a/.gitlab/ci/shared_test.gitlab-ci.yml b/.gitlab/ci/shared_test.gitlab-ci.yml
index f12b256a2b7e75b01de9d1b5c1ba05c02a22cf86..dc6097f84a4dc64bd94d4a5e329f23a70f95c2fd 100644
--- a/.gitlab/ci/shared_test.gitlab-ci.yml
+++ b/.gitlab/ci/shared_test.gitlab-ci.yml
@@ -5,23 +5,30 @@ shared_job:
   script:
     - echo "Running shared script job"
 
-variables:
-  MY_CUSTOM_FUNCTION: >
-    function my_custom_function() {
-      local DEPENDENCY_NAME="$1"
-      local BRANCH_NAME="$2"
-      local JOB="$3"
-      local GROUP_ID=$(curl "https://gitlab.eclipse.org/api/v4/groups?search=aidge" | jq -r '.[0].id')
-      echo "GROUP_ID $GROUP_ID "
-      local PROJECT_ID=$(curl "https://gitlab.eclipse.org/api/v4/groups/$GROUP_ID/projects?search=$DEPENDENCY_NAME" | jq -r '.[0].id')
-      echo "project $DEPENDENCY_NAME id = $PROJECT_ID"
+.download_dependency:
+  script:
+    - local GROUP_ID=$(curl "https://gitlab.eclipse.org/api/v4/groups?search=aidge" | jq -r '.[0].id')
+    - echo "GROUP_ID $GROUP_ID "
+    - local PROJECT_ID=$(curl "https://gitlab.eclipse.org/api/v4/groups/$GROUP_ID/projects?search=$DEPENDENCY_NAME" | jq -r '.[0].id')
+    - echo "project $DEPENDENCY_NAME id = $PROJECT_ID"
+
+# variables:
+#   MY_CUSTOM_FUNCTION: >
+#     function my_custom_function() {
+#       local DEPENDENCY_NAME="$1"
+#       local BRANCH_NAME="$2"
+#       local JOB="$3"
+#       local GROUP_ID=$(curl "https://gitlab.eclipse.org/api/v4/groups?search=aidge" | jq -r '.[0].id')
+#       echo "GROUP_ID $GROUP_ID "
+#       local PROJECT_ID=$(curl "https://gitlab.eclipse.org/api/v4/groups/$GROUP_ID/projects?search=$DEPENDENCY_NAME" | jq -r '.[0].id')
+#       echo "project $DEPENDENCY_NAME id = $PROJECT_ID"
 
-      # # 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}/-/tree/${CI_COMMIT_BRANCH}")
-      # - >
-      #   if [ "$RESPONSE_CODE" -eq 404 ] || [ "$CI_MERGE_REQUEST_ID" ]; then
-      #     curl --location --output build_artifacts.zip "https://gitlab.eclipse.org/api/v4/projects/${PROJECT_ID}/jobs/artifacts/main/download?job=build:ubuntu_cpp"
-      #   else
-      #     curl --location --output build_artifacts.zip "https://gitlab.eclipse.org/api/v4/projects/${PROJECT_ID}/jobs/artifacts/${CI_COMMIT_BRANCH}/download?job=${JOB}"
-      #   fi
-    }
+#       # # 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}/-/tree/${CI_COMMIT_BRANCH}")
+#       # - >
+#       #   if [ "$RESPONSE_CODE" -eq 404 ] || [ "$CI_MERGE_REQUEST_ID" ]; then
+#       #     curl --location --output build_artifacts.zip "https://gitlab.eclipse.org/api/v4/projects/${PROJECT_ID}/jobs/artifacts/main/download?job=build:ubuntu_cpp"
+#       #   else
+#       #     curl --location --output build_artifacts.zip "https://gitlab.eclipse.org/api/v4/projects/${PROJECT_ID}/jobs/artifacts/${CI_COMMIT_BRANCH}/download?job=${JOB}"
+#       #   fi
+#     }