nemccarthy / stash-pullrequest-builder-plugin

A Jenkins plugin for Building Stash Pull Requests
https://wiki.jenkins-ci.org/display/JENKINS/Stash+pullrequest+builder+plugin
Other
64 stars 130 forks source link

Branches with slashes confuse the job #6

Closed trevan closed 9 years ago

trevan commented 9 years ago

I have a branch named "bugfix/fix-a-bug" and when I created a pull request, this plugin correctly started a build. But then it failed because it couldn't find any changes to the branch. It turns out that it was using "fix-a-bug" as the branch name instead of "bugfix/fix-a-bug".

This plugin needs to handle branches that have '/' in them.

nemccarthy commented 9 years ago

Yeah, seems a problem with the branch passing. There is PR #7 in which should fix this. I'll cut 1.0.1 sometime tonight so it should be in Jenkins repo within 24 hours.

nemccarthy commented 9 years ago

@trevan 1.0.1 released with this fix. Should appear in Jenkins updates in the next 6 or so hours.

trevan commented 9 years ago

It's working for me now. Thanks.