Increase jobs in build queue of a project

679 views
Skip to first unread message

Jayaprakash D B

unread,
Mar 3, 2014, 4:32:49 AM3/3/14
to jenkins...@googlegroups.com
Hi,

I have a project where we submit number of builds. As of now, I can see only two jobs in the queue:one the running one and other the queued one. I want to queue more than one job in a particular queue. Is it possible?

Thanks,
JP

Benjamin Lau

unread,
Mar 3, 2014, 5:18:40 AM3/3/14
to Jenkins Users
I'm assuming all of these have the same parameters or are not
parameterized at all. Due to this the queue will be culled by Jenkins
such that only each unique job will appear in the queue.

Marc MacIntyre (in the thread about for loops the other day) suggested
the following to compensate for this:
Depending on your job, you'll want to add some kind of bogus parameter
to the jobs to prohibit deduplication, since Jenkins can coalesce jobs
that are run with the same parameters in the queue. I use the current
system time in millis.

That will probably solve your problem.

Cheers,
Ben
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-use...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

Geoff Cummings

unread,
Mar 3, 2014, 8:08:48 AM3/3/14
to jenkins...@googlegroups.com

You can use the Random String Parameter as an easy way to have unique parameters per build

Jayaprakash D B

unread,
Mar 3, 2014, 8:10:01 AM3/3/14
to jenkins...@googlegroups.com
Thanks. Issue resolved

Benjamin Lau

unread,
Mar 3, 2014, 8:40:03 AM3/3/14
to Jenkins Users
Oh! I didn't know about that one. I'll have to start making use of it.

Thanks for the pointer!

Cheers,
Ben
Reply all
Reply to author
Forward
0 new messages