How to build a Jenkins project only when two other projects have been successfully built?

I figured out how to start another Jenkins project after a successful build, but how do you solve the following situation:

Project A launches project B and C. Project D should only be built if projects B and C have been successfully built. I cannot configure B to start project D, because I'm not sure if project C is already built, and vice versa.

+6
source share
2 answers

"Construction after the construction of other projects," proposed by Achilles, will not achieve its goal. He will start Project D after creating Project B or Project C. Use the Plugin .

+5
source

In the option "Build Triggers" there is an option "Create after creating other projects." Here is a snapshot for the same:

enter image description here

In projects, to view, specify: Project B, Project C (Note that several projects are mentioned with a comma-separated value)

+2
source

Source: https://habr.com/ru/post/975485/


All Articles