Posted: February 09, 2011 12:03 by gogstad
Is there a way to make Hudson wait for upstream projects to build committed code that hasn't been built?
This is my scenario:
I got two Hudson projects, project B build modules that are downstream to the ones built by project A. The current time is 08:10 and there are commits on modules in both projects at 08:05. If Hudson start building project A, then project B blocks and everything is good. On the other hand, if Hudson start build Project B, then there will be a compile time error because of dependencies to the committed code in Project A that hasn't been built yet.
A solution to my problem would be if Hudson looks for committed code prior to 08:10 in upstream dependencies that hasn't been built before it builds Project B. Project B then blocks until all code committed on upstream dependencies before 08:10 is built.
Is this possible, or does anyone have another solution?