Merge request says "Could not connect to the CI server", no CI or integration is configured
We are using Jenkins Pipeline jobs to run tests for each merge request. Jenkins jobs are notified with webhooks, not Jenkins integration itself. After job is built successfully and we can see the commit status is updated from Jenkins job, we see "Could not connect to the CI server. Please check your settings and try again" in related merge request's page.
Steps to reproduce
- Using gitlab.com account
- Merge requests cannot be merged if branch is behind master and build status is not successful
- Each Merge Request event is forwarded to a Jenkins Pipeline job
- Jenkins pipeline job uses https://github.com/jenkinsci/gitlab-plugin to update commit's build status.
What is the current bug behavior?
Merge request cannot connect to the CI server:
What is the expected correct behavior?
When status is set to PENDING, merge request should indicate a build is running and merge button should disappear. If build is successful, merge request should allow to merge. If build is not successful, merge button should disappear.
Output of checks
This bug happens on GitLab.com as of 22.06.2017