Greetings, Ladies and Gentlemen!
Our setup is TeamCity, some VCS, Nexus, Maven. Please explain if its possible to implement what we want in TeamCity.
I have only one branch in my VCS system, but I need to support SEVERAL different builds based on it. Lets call it two builds of our product for Home and Office. Three situations are possible (we still dont know which way to choose for our project) :
1) One branch, one Maven artifact, this results into two TeamCity builds: builds depend on Maven profiles (-pHomeBundle and -pOfficeBundle). Is it possible for TeamCity? If its possible what will happen if some code in the branch is updated - both Home and Office builds will be rebuilt?
2) One branch, 3 Maven artifacts, 2 depend on one: Home and Office depend on Common and again all this results into 2 TeamCity builds: Home and Office. I dont want Home to fail if Office failed. Is it possible? Also in this case I dont want to build Home artifact if only Office artifact was changed. I want to rebuilt both if Common was changed.
3) One branch, 3 Maven artifacts, but this time instead of Home and Office I use the same artifact declared TWICE with different versions. In the same Maven POM. I am not sure its possible at all. If its possible - can TeamCity build two different versions of the same artifact from the same branch?