Skip to content

Add CI variable to provide GitLab base URL

Aidin Abedi requested to merge aidinabedi/gitlab:add_envvar_ci_server_url into master

What does this MR do?

  • Adds a predefined CI environment variable CI_SERVER_URL that provides the full base URL of the GitLab instance (like https://gitlab.example.com:3000). As opposed to existing variable CI_SERVER_HOST which contains neither protocol nor non-default port.
  • Adds documentation and examples of the new variable CI_SERVER_URL.
  • Closes: #19751 (closed)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Grzegorz Bizon

Merge request reports