Jenkins : Use "Build after other projects are built" and "Build periodically" at the same time

2k Views Asked by At

I have two jobs, p1 and p2.

Conditions that trigger p2:

  1. p1 build is completed

  2. Every Monday

enter image description here

But I know "Build after other projects are built" and "Build periodically" do not trigger at the same time. Is there any way to solve this?

1

There are 1 best solutions below

4
cghislai On BEST ANSWER

Yes: Make a job p3 than just triggers job p2 when p1 is completed. And schedule p2 to run periodically.