jenkinsci / jenkinsci/gitlab-branch-source-plugin

[JENKINS-69946] GitLab: ignore draft MR for multibranch pipeline

Open
#714 4 comments 0 reactions 0 assignees View on GitHub
component:gitlab-branch-source-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
134
Forks
113
PR merge metrics
No merged PRs in 30d

Description

It is currently not possible to configure the GitLab Branch Source SCM to ignore draft MR in GitLab.

It would be nice if we could set a build trait to ignore draft MR and then just build the "normal" branch as if the MR is not there at all.

Similar feature has been integrated into github already.  See JENKINS-65156">JENKINS-65156

---
Originally reported by gordin, imported from: GitLab: ignore draft MR for multibranch pipeline


  • assignee: baymac
  • status: Reopened
  • priority: Minor
  • component(s): gitlab-branch-source-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 2
  • imported: 20251216-182730

Raw content of original issue

It is currently not possible to configure the GitLab Branch Source SCM to ignore draft MR in GitLab.

It would be nice if we could set a build trait to ignore draft MR and then just build the "normal" branch as if the MR is not there at all.

Similar feature has been integrated into github already.  See JENKINS-65156

environment

```
Jenkins 2.346.1

GitLab Branch Source Version 630.v04ca_c57fa_880
```

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.