Score:0

Jenkins - Run job if other multiple jobs are successful

cz flag

How can I start a job if all 3 other jobs are successful?

Here is the scenario:

job1 - build module 1
job2 - build module 2
job3 - build module 3
job4 - main program

Run job4 (main program) if all modules build are successful (Job 1,2 and 3) so the main program can checkout all 3 modules from 3 different github repo and build the main program.

How can it be chained so its automatic?

Score:0
jp flag

Start with job4. Have job4 schedule builds of job1, job2, and job3 and wait for them to finish. Then, if all 3 scheduled builds succeed, job4 may continue.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.