Hello guys, we have a project with several build configuration (each one represents maven module). Build of each configuration is triggered by VCS trigger. Subject of interest is
- Source code is committed into VCS and affects several modules.
- Build of all dependent modules is triggered by VCS trigger.
How to guarantee modules build order?
To clarify the question lets consider following example:
Assume that there are two modules:
module2 depends on module1
Then somebody makes commit that affects module1 and module2, so we assume module1 to be build before module2, but TeamCity builds module2 first. In such case build for module2 is failed.