Open huxuan opened 4 months ago
Thanks for reaching out! We do already have some logic to determine the default GitLab URL:
I agree that using CI_SERVER_URL
would probably simplify this a bit as we would not need the project URL/path logic anymore.
Feel free to send a pull request :)
According to the Predefined CI/CD variables reference,
CI_SERVER_URL
will just be what we want to GITLAB_URL, so when we are running on GitLab CI/CD, maybe it is better to retrieve the value by default?