jenkins-gitlab-merge-request-builder-plugin
jenkins-gitlab-merge-request-builder-plugin copied to clipboard
Build fails if slash in branch name
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.
This is especially a problem because, by default git-flow will use that sort of nomenclature.
^^ that's actually what caused it yes. I use gitflow.
I'm running into this issue as well.
In the interim, does anyone know of a workaround?
Our workaround is to not have slashes in the branch name. You can use a hyphen instead.
Would anyone care to contribute a PR?
How does the build fail? Which error occurs?
I may take a stab at a patch this afternoon.
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)