user1165199
user1165199

Reputation: 6639

Run jenkins job without triggering downstream jobs

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?

Upvotes: 0

Views: 981

Answers (1)

jjst
jjst

Reputation: 2811

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.

Upvotes: 1

Related Questions