Skip to content

checking out wrong branch  #130

@andreas-

Description

@andreas-

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions