Skip to content

PullRequest clones always default branch #47

@pawepaw

Description

@pawepaw

Hello,

I'm using teamcity 9.1.4 and I wanted to build my feature branches (all are based on develop branch). I made configuration for VCS root and configured branch specification there:

  • vcs root
    Default branch:
    develop

Branch specification:
+:refs/heads/feature/*

  • I configured pull request plugin like below:

base branch:
develop

Teamcity detects pull requests but it builds with sources from develop branch not from feature branches. Is it possible that teamcity api has changed and triggering build for specific branch no longer works? Or i missconfigured something?

Edit:
I've changed default branch in vcs root to another branch and it started building this branch. So no matter what my branch specification is it always builds default branch from vcs root.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions