We are using TeamCity on our project and think its a really great product. I have a couple of questions that it would be great to get some opinions on.
Currently we have a number of projects set up within team city. We have many dependencies between these projects. We have been using the build dependency triggers to manage these dependencies and overall it has been working well.
Now we have more of a dependency graph or tree of projects as opposed to a dependency chain or sequence. Several of our components depend on a number of other projects. What we would like to implement is a build trigger which would wait for all of its dependencies to have been updated before launching a build. We were wondering if this is possible out of the box or if we need to upgrade to 5.1 and create our own custom build trigger. Specifically we are finding that some of the builds which have many dependencies and subdependencies are firing multiple times. Team city doesn't seem to detect that the same build trigger could fire multiple times due to the dependencies and ensure that the trigger only fires once.
There is also something else we would like to implement and were wondering what the best approach would be. We have a project setup in Team city the purpose of which is to deploy all of our built components (war files) into our JBoss server(s). Hanging off this project as a build dependency we have another project which runs our component level tests. On successful completion of these tests we have another project set up to run Microsoft UIAutomation tests via fitnesse. We were wondering if there was a way to prevent the first step in our process from occuring (the deployment) if any other builds in the sequence were still active. What we have been finding is that we cannot prevent the build trigger which fires a deployment from occuring during the middle of our component tests or in the middle of the UIAutomation tests. We suspect we may need to build another custom build trigger for this but would be grateful if anybody had any opinions.
Thanks very much in advance for any help