I have a plain Jenkins job.
The job is restricted to run on a single node using label.
The node and the job settings are set to execute in parallel.
I use "parameterized scheduler" plugin to run 4 instances of this job in parallel every 30 minutes like shown below:
*/30 * * * * %app=myapp1
*/30 * * * * %app=myapp2
*/30 * * * * %app=myapp3
*/30 * * * * %app=myapp4
As you can see the parameter(app=) is different for each run.
However, only one instance of this job runs tree first one i.e app=myapp1
Can you please suggest what needs to be done to fix the problem.
Note: when i change the cron time to */30, */31, */32, */33 then this works fine. Infact i even see parallel execution of the same job incase the job takes more than a minute to complete.
In summary my issue is about running multiple instances of the same job in parallel using cron and not a manual trigger.
With manual trigger i m able to have multiple instances running in parallel.