Run custom build from specific VCS label


I want to run a build with the code from a specific Git tag (created in TeamCity using VCS Labeling feature).

I go to the configuration in the TeamCity web GUI, and near Run on the right side, click "...".

I get  the Run Custom Build dialog.

At the Changes tab, I can choose  a Git "Build branch". I  can  also  choose a specific commit using "Include changes". However, I want to choose a specific tag. How do I do that?

Comment actions Permalink

Hello Joshua,

Please enable option "Use tags as branches" in the VCS root settings and add tags to the branch specification (wildcards are supported):


After that you'll be able to select tag as branch in Run Custom dialog.

Comment actions Permalink

@Alina Mishina, thank you. This worked.


Please sign in to leave a comment.