Jenkins Integration, "Could not connect" on merge request when no build
- GitLab 8.4.2-ee
- Omnibus
- RHEL 6
We are currently not performing jenkins builds when merge requests are created. We are only building on push to long-lived branches (e.g. DEV).
As expected, build happen when a push occurs to a long-lived branch and a build happens when a merge request into a long-lived branch is accepted (since that is a push). GitLab correctly identifies that a build is in progress for a commit and correctly reports the success/fail status of that build upon completion.
However, whenever we create a merge request, we see:
Under further inspection, I see a request going out to:
http://our-git-server.com/our-group/our-project/merge_requests/1025/ci_status
The response is:
{
"status": null,
"coverage": null
}
This seems normal, since the merge request does create a build (as per our settings). However, we still see the error.
The expected behavior would be that the request is not made when we configured to not notify Jenkins of merge events, or that the response is correctly interpreted.
Gitlab Jenkins configuration:
Jenkins Job configuration: