I have a TeamCity 7.1 project with several configurations.
The MyBuild configuration creates a project for a VCS root directed to a GitHub repo with multiple branches and has the specification Branch = +:refs/heads/*
The MyDeploy configuration deploys the package created by MyBuild and has a snapshot dependency on MyBuild.
I find that "MyDeploy" will always run "MyBuild" for the main branch - even if there is a newer build for some other branch.
Can I configure MyDeploy to: (1) deploy the last successful build for a particular branch, or (2) deploy the last successful build for any branch?
source share