0
votes

I have a jenkins job with a couple of downstream jobs which are triggered upon the job finishing correctly.

There are times when I want to run the initial job without triggering the downstream jobs. Is this possible?

1
Have you looked at this answer? It probably contains some insightful leads.jjst

1 Answers

1
votes

It sounds like the conditional build step plugin might be of help. You can configure it to trigger other jobs based on various conditions, like so:

conditional build step config example

Here, the conditional build step has been configured to run downstream-job if foo.txt exists in the current workspace.