I have an upstream project (dao) and a downstream consumer (scb). I would like to configure it so that when scb is built, the build summary page (after clicking on a build number) will show “Upstream builds: dao #blah”.
How do I do this? Looking at this question, I already have scb configured to:
- Build whenever a SNAPSHOT dependency is built
- Build after other projects are built (dao)
I also have the dao project configured to build via “Build other projects,” although ideally, I don’t want to trigger the build; I just want scb to show me which build of dao it used as an upstream project.
If it helps, these are both Spring/Hibernate Java projects that each build a single JAR file; the dao project is a group of common DAO classes.
To be clear what I’m talking about, Hudson has a project relationship link. This link used to show a connection between certain builds of dao and certain builds of scb. (I wish it would do that for all the new builds, but it stopped.) I want this data to be populated. (I presume this is the same as showing upstream/downstream in the build-version screen.)
See the same question you referenced in your question. Configure the Build Trigger* section for **Build whenever a SNAPSHOT dependency is built, and viola.
Also, it’s critical that the down-stream builds complete and are successful. Builds that fail or failed tests will not trigger downstream builds.
I know you’ve seen that they have on your system, but that’s downright strange.