Hudson + Poll SCM - build upstream projects first?
We have a bunch of maven2 projects in Hudson, all set to Poll SCM at the same time.
The problem is that there doesn't seem to be an order in the way it polls and builds the projects. Ideally it would check the upstream projects first. I could set the poll SCM schedule to account for this, but this seems error-prone as new projects are added.
Right now, sometimes it checks a downstream project "X" first, finds a change and builds with an error. Then when the upstream project "Y" is checked/built, this triggers a build of project X, which is succ开发者_JAVA技巧essful. Creating some pointless error notifications.
Under "Advanced Project Options", check "Block build when upstream project is building"
Since 1.323 there is an advanced maven build option block-when-upstream-building. Maybe that could be helpful?
精彩评论