Skip to content

Add condition for printing merge request urls

By default, the URL to view/create a merge request will be displayed on push. If, however, the GitLab API specifies that disable_printing_merge_request_link is true, the link will not be printed.

See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9663

Note: it is safe to merge this code even before the above MR is merged into GitLab CE since it will fallback to the previous default behavior if the API is unavailable.

Merge request reports