TeamCity Setup:
Project(CenterProj)
- Build Configuration (Master Branch)
- Build Configuration (Dev Branch)
VCS(GitHub) Setup (Repo: CenterProj):
- Master Branch
- Dev Branch
Site Setup:
- dev.centerproj(relates to dev branch)
- qa.centerproj(relates to master branch)
I have yet to figure out how I can have 1 VCS Root connection going to the CenterProj Repo, and then trigger the 2 build configs based on commit/merge to their individual branches.
- Example: commit code to Dev branch, TC triggers Build Configuration(Dev) and it goes out to dev.x. I think merge that commit to Master, and it then triggers the Build Configuration(Master) which goes out to qa.x.
So far I'm getting continual "Pending" builds waiting on dev when I commit/merge to master or pending in Master when I commit/merge into Dev.
Suggestions?