jenkins-gitlab-merge-request-builder-plugin icon indicating copy to clipboard operation
jenkins-gitlab-merge-request-builder-plugin copied to clipboard

Build fails if slash in branch name

Open samrocketman opened this issue 10 years ago • 8 comments

If you have a forward slash in the branch name e.g. bugfix/myfix or feature/my-new-feature. It should be able to account for that. Git supports it and so does GitLab.

samrocketman avatar Mar 03 '14 17:03 samrocketman

This is especially a problem because, by default git-flow will use that sort of nomenclature.

bwrsandman avatar Apr 15 '14 21:04 bwrsandman

^^ that's actually what caused it yes. I use gitflow.

samrocketman avatar Apr 15 '14 23:04 samrocketman

I'm running into this issue as well.

In the interim, does anyone know of a workaround?

gearoidof avatar Aug 21 '14 16:08 gearoidof

Our workaround is to not have slashes in the branch name. You can use a hyphen instead.

samrocketman avatar Aug 21 '14 20:08 samrocketman

Would anyone care to contribute a PR?

timols avatar Aug 25 '14 17:08 timols

How does the build fail? Which error occurs?

Jotschi avatar Aug 25 '14 17:08 Jotschi

I may take a stab at a patch this afternoon.

benley avatar Aug 25 '14 17:08 benley

I'm using gitlab 7 + 1.2.2 of this plugin, and I don't see this bug. It's been merging + building star/feature/star branches all day long.

(star above is because I have no idea how to escape the star character)

ghost avatar Nov 04 '14 22:11 ghost