jenkinsci / gitlab-plugin

A Jenkins plugin for interfacing with GitLab
https://plugins.jenkins.io/gitlab-plugin/
GNU General Public License v2.0
1.43k stars 613 forks source link

Source branch develop or target branch develop is not allowed #987

Open yetanothern opened 4 years ago

yetanothern commented 4 years ago

Issue

Context

Logs & Traces

Gitlab plugin log: Source branch develop or target branch develop is not allowed

Problem description

What does it mean?

therealBennoooo commented 4 years ago

Unsure if you've found the solution to this - but I have had the same error message and it turned out that the branch we specified in the 'Allowed branches' section was in lowercase so Jenkins believed it to be a different branch than it was looking for.

ubbn commented 1 year ago

@yetanothern did you get around the issue?

I have the same problem on same version of the plugin. We even allowed "All" branches, but still got the error saying "Source branch or target branch is not allowed."