-
Bug
-
Resolution: Unresolved
-
Major
-
None
Original reporter https://github.com/jpeletier
Hi,
First of all, thank you for this great plug-in
I have configured the multi-branch plug-in with my Stash Git repository with the following relevant parameters:
- Sync Branches Schedule: H/5 * * * *
- [x] Allow anonymous trigger of branch sync
- Git
- Include Branches * (a * wildcard)
- Exclude Branches <empty>
I have configured Stash Git to trigger Jenkins every time a push is made to the repository, and it works. However, when the branch name contains a forward slash, such as "feature/new-cool-feature", the hook is ignored and the branch is not built. If I click the "Schedule Build", the build is scheduled and runs fine. So it is just the trigger that it is not working.
I have read the plug-in has some issues with / in the names, but the issues described don't seem to match what is happening to us. My one and oly problem is the trigger coming from Stash being ignored.
Does anybody know of a workaround?
Thanks!
/jpeletier
I've the same issue, I'm using Atlassian BitBucket (former Stash) with this plugin: https://marketplace.atlassian.com/plugins/com.nerdwin15.stash-stash-webhook-jenkins/server/overview
to notify Jenkins when a new commit is pushed.
This is the GET request that the plugin does :
Unfortunately also changing the url replacing the / with %2F or %252F does not change anything.
Instead a normal build with git SCM is properly notified.
If you have any hint how to fix this and where to look I can try something...