Skip to content
Snippets Groups Projects
Commit e31f6d18 authored by Grégoire Kubler's avatar Grégoire Kubler
Browse files

chore : trying stuff

parent 5a6f5f8c
No related branches found
No related tags found
1 merge request!47Draft: TEST_CI_FORK_DO_NOT_MERGE
This commit is part of merge request !47. Comments created here will be created in the context of that merge request.
......@@ -50,7 +50,7 @@ build:ubuntu_cpp:
- echo "${CI_PROJECT_URL}"
- echo "${CI_PROJECT_NAMESPACE}"
- echo "${CI_PROJECT_NAMESPACE_ID}"
- PROJECT_INFO=$(curl -s --header "PRIVATE-TOKEN:${CI_JOB_TOKEN}" "${API_URL}/projects/${DEPENDENCY_NAME}")
- PROJECT_INFO=$(curl -s --header "PRIVATE-TOKEN:${CI_JOB_TOKEN}" "${API_URL}/projects/${CI_PROJECT_PATH}")
- >
if [[ ! $PULL_FROM_FORK ]]; then # nominal case : we are in the official project
DEPENDENCY_ID=$(curl "${API_URL}/groups/${CI_PROJECT_NAMESPACE_ID}/projects?search=${DEPENDENCY_NAME}" | jq -r '.[0].id')
......
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