Merges allowed when Jenkins jobs are queued up

Summary

When Only allow merge requests to be merged if the pipeline succeeds is set for a project with the Jenkins integration, merges are allowed when jobs are queued in Jenkins while waiting for an executor to become available.

What is the current bug behavior?

Merges are allowed even if Only allow merge requests to be merged if the pipeline succeeds is set for the project.

What is the expected correct behavior?

Merges should not be allowed until Jenkins publishes the build status back to GitLab.

Links

Customer ticket -> https://gitlab.zendesk.com/agent/tickets/94392 (internal)

Assignee Loading
Time tracking Loading