Branch specifications and custom build dialog

Hello,

I'm trying create dedicated build configurations for different branches and stuck with the problem of either not doing everything correcty or not understanding how these features are supposed to work:

The set-up:
I have a single Mercurial repository with named branches - default (dev), feature#, hotfix#, release and want to create two separate build configurations, one working with default and feature*, and the second one with release and hotfix*.

I modify branch specification in VCS settings and branch filter in build triggers to monitor only those branches that I'm interested, but If I manually run the build, custom build dialog always shows me the list of all branches, so I can't enforce that the build configuration is only run on the branches I want.

Am I missing something or there is no way to restrict custom build menu from displaying all branches?

Thanks,
Zura

5 comments
Comment actions Permalink

There are two fields for specifying branches: default branch and branch spec. Default branch is executed when you click "Run" button. Branches that matches branch spec are monitored by TC.
For the first one you need to set default branch to default (dev) and branch spec to: feature/*
For the second one you need to use release and hotfix/* correspondingly

Please refer to http://confluence.jetbrains.com/display/TCD8/Working+with+Feature+Branches for more information.

0
Comment actions Permalink

Sergey,

Thanks for your answer but I'm affreid that's not exactly it, I'm not asking about the run button (default behavior is fine) but the 'run...' button. On the changes tab, build branch drop down always shows all the branches and I wanted to restrict that list also.

0
Comment actions Permalink

I can only see the branches from branchspec here. What is your TC version?

0
Comment actions Permalink

I'm using 8.1.1 (build 29939).

0
Comment actions Permalink

still not able to reproduce. Please attach screenshots.

0

Please sign in to leave a comment.