jenkinsci / jenkinsci/gitlab-plugin

Add an ability to not send targetUrl when updating pipeline status

Open
#956 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.4k
Forks
615
Avg merge
4h 32m
Merged PRs (30d)
10

Description

At the moment, `updateGitlabCommitStatus` pipeline step seems to always send `targetUrl` of the jenkins project to the gitlab.

However, recently gitlab seems to have started validating the target URL. If it is not reachable, status update never suceeds.

Our jenkins is only accessible in the internal network. That means that `targetUrl` is not reachable from Gitlab and thus status update always fails.

Could you add an optional parameter to `updateGitlabCommitStatus` to not send target url with build status? Or maybe make it global per-gitlab-connection setting? Would you be fine with Pull Request for this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.