Skip to content

Commit

Permalink
Rename env variable for GitLab build (#665)
Browse files Browse the repository at this point in the history
* Rename env variable

* Update helpers.sh

I agree with that

Co-authored-by: Gabriel Omar Cotelli <[email protected]>

---------

Co-authored-by: Gabriel Omar Cotelli <[email protected]>
  • Loading branch information
badetitou and gcotelli authored Dec 19, 2024
1 parent 5a2ee92 commit 9c0f550
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,8 @@ export_coveralls_data() {
url="https://github.com/${APPVEYOR_REPO_NAME}.git"
elif is_gitlabci_build; then
branch_name="${CI_COMMIT_REF_NAME}"
service_job_id="${CI_BUILD_ID}"
service_job_number="${CI_BUILD_NAME}"
service_job_id="${CI_JOB_ID:-CI_BUILD_ID}"
service_job_number="${CI_JOB_NAME:-CI_BUILD_NAME}"
service_name="gitlab-ci"
service_pull_request="${CI_MERGE_REQUEST_IID:-}"
url="${CI_PROJECT_URL}"
Expand Down

0 comments on commit 9c0f550

Please sign in to comment.