I have the following project layout:
- WAR Project A
- Upstream Projects
- Dependency B
- Dependency C
- Dependency D
- Upstream Projects
I'm looking to setup A so that every time I want to trigger a build, it will first build B, C, and D. If either builds for B, C, or D fail then A's build should fail as well.
It seems like a common build case, but I'm not sure how to accomplish it. There are the following options but they don't seem to have the right relationship:
- Build Triggers - Build after other projects are built
- Will build the current project after some upstream projects, but I need to control the build from this project since I'm doing a WAR deployment. I just want to always build dependencies first.
- Post-build Actions - Build other projects
- Will build projects after this one, but that's backwards for what I want to do.
Is there a build configuration in Hudson (or through a plugin) that will work for me?