ci/coverage: Fix link of coverage index page

Use $CI_JOB_ID as $CI_BUILD_ID is undefined
This commit is contained in:
Marco Trevisan (Treviño) 2024-08-02 13:55:49 +02:00
parent 0f8971472c
commit f2993b10df

View File

@ -46,4 +46,4 @@ cat >index.html <<EOL
EOL
# Print a handy link to the coverage report
echo "Coverage report at: https://${CI_PROJECT_NAMESPACE}.pages.gitlab.gnome.org/-/${CI_PROJECT_NAME}/-/jobs/${CI_BUILD_ID}/artifacts/_coverage/coverage/index.html"
echo "Coverage report at: https://${CI_PROJECT_NAMESPACE}.pages.gitlab.gnome.org/-/${CI_PROJECT_NAME}/-/jobs/${CI_JOB_ID}/artifacts/_coverage/coverage/index.html"