TeamCity 2019.1.4, VCS is Plastic SCM.
I updated an existing build configuration in a project (Project A) with a default branch of /main
, to include a branch specification (which it did not have before) of +:(/main/*)
, so that feature/other branches would also be picked up and built. But no commits on the feature/other branches trigger a build, only commits to /main
.
The VCS Trigger is fairly standard, the branch filter there is just +:*
.
There is a different project (Project B) in the same TeamCity instance, with the same VCS Root configuration (obviously with a different Repository), which behaves as expected and the feature/other branches are built, as well as the /main
branch. This project and build configuration were setup like this when it was created.
I cannot see any difference in the TeamCity UI between the two configurations, yet they behave differently? How can this be?
/main
and the branch specification of+:(/main/*)
. Not sure what other values you want to see? – Stuart Grassie