diff --git a/.gitlab/ci/build.gitlab-ci.yml b/.gitlab/ci/build.gitlab-ci.yml index b242f9eb24adc772ec12a4845120e36cebac52e1..82abe7029a138c27e04737e6c13e82ec88983fd9 100644 --- a/.gitlab/ci/build.gitlab-ci.yml +++ b/.gitlab/ci/build.gitlab-ci.yml @@ -52,6 +52,7 @@ build:ubuntu_cpp: - echo "${CI_PROJECT_NAMESPACE_ID}" - echo $(curl -s --header "PRIVATE-TOKEN:${CI_JOB_TOKEN}" "${API_URL}/projects/${CI_PROJECT_ID}") - echo ${CI_PROJECT_ROOT_NAMESPACE} + - PROJECT_NAMESPACE=$(curl --header "PRIVATE-TOKEN:${CI_JOB_TOKEN}" "${API_URL}/namespaces") - PROJECT_INFO=$(curl -s --header "PRIVATE-TOKEN:${CI_JOB_TOKEN}" "${API_URL}/projects/${CI_PROJECT_ID}") - > if [[ ! $PULL_FROM_FORK ]]; then # nominal case : we are in the official project