Hi,
From what I know, a job will keep an executor busy till it completes.
Hence, if an upstream job needs to do something after a downstream
completes, then Jenkins needs two executors.
Otherwise, if an upstream job doesn't need to anything after a
downstream completes, then you trigger a do
Hi,
My question is if upstream job is running on executor 1 and when downstream
job is triggered, that should run on executor 1 or executor 2
As soon as downstream job started running, upstream job should not be
running on any of the executor.
Beacuse I don't want upstream job to wait for the d
Hi,
from what I know, it's not achievable. When a job is waiting for a
downstream to complete, it keeps an executor occupied. So, the
downstream job needs to run on a different executor.
But, frankly, that seems more of https://xyproblem.info/ :-)
So, what is your problem? what do you need?
-- Forwarded message -
From: kamthe kirtee
Date: Mon, 5 Apr, 2021, 4:36 pm
Subject: How to run upstream and downstream jobs on same executor
To:
Hi team,
Suppose in jenkins I have 1 slave and in that slave I have 1 executor
Also I have one upstream job and one downstream job