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

checking out wrong branch #130

Open andreas- opened 6 years ago

andreas- commented 6 years ago

The pull request builder is checking out wrong branches from our bitbucket server. Our setup: Freestyle Jenkins (2.73.2) project Source Code Management: Git Branches to build: */master

Stash Pull Requests Builder CRON * Build PR targetting only these branches: empty

Credentials and repo urls are correct and working

When i check the console output it tells me PR #463 SOMETHiNG-774 branch name (where SOMETHiNG-774 is our branch prefix) ... Checking out Revision ac23f120c80a196dea7fcbfcc0b009125b48ce3e (refs/remotes/origin/master

the correct branch to build should be refs/remotes/origin/feature/SOMETHiNG-774

Does somebody have a clue what went wrong?