I'm working on a teamcity project. The project config will be created from kotlin code in a git repo. The parent vcs root for the project config is saved on the server. Everything else config related will be saved in the repo. I want three separate branches, one each for prod/test/dev.
My issue is that I have a separate repo for scripts/build job tools. I need to have some way to connect the teamcity jobs to different branches in my scripts repo. If the param or vcs root is stored in the config repo I run into problems with the config having different values when I merge test into prod.
How can I set up three different teamcity projects connected to three different branches in two repos?
I noticed versioned settings isn't stored in the vcs root. Is there anyway to access the branch used for the teamcity config from that vcs root? I can see branch info for other roots in parameters, but not for my versioned setttings vcs root.