Hi Dmitry,

Added jenkinsci-dev mailing list to Cc. It's a right place to discuss
particular improvements (especially if you add plugin owners to Cc).

I am trying to set up a multi-configuration matrix build, that will have
> 250 to 500 builds. However, we only have 100 nodes to run at the time, and
> I do not want to see the remaining 400 builds in the Queue. ....  Is it
> possible to user your plugin to restrict how many builds get put into the
> queue?


No, it's not possible right now.

If this feature is not implemented, would you be interested in a PR with
> the implementation?


There are two ways to hide items in the queue:

   - Decline the build scheduling.
   - This build won't be executed at all
      - Matrix project will likely fail the build after it
      - I doubt this feature complies with the plugin design
      - Filter out the job from the web interface
      - AFAIK there is no extension points in Jenkins core allowing to do it
      - This feature could be useful

What actually do toy try to achieve? IIRC there is a PR from Tom Fennelly
(in Cc), which provides a pagination of the build queue.
https://github.com/jenkinsci/jenkins/pull/1641 . Probably it may address
your use-case if you want just to reduce the size of the list.
Best regards,
Oleg

2015-10-06 17:19 GMT+03:00 Dima Kovalenko <[email protected]>:

> Hey Oleg,
>
> I am trying to set up a multi-configuration matrix build, that will have
> 250 to 500 builds. However, we only have 100 nodes to run at the time, and
> I do not want to see the remaining 400 builds in the Queue.
>
> Is it possible to user your plugin to restrict how many builds get put
> into the queue? Sorry to send email directly but could not find much
> information about this config online. If this feature is not implemented,
> would you be interested in a PR with the implementation?
>
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAPfivLCCY87_MxXNoW%2BiUF7dr7QRp43OqXtUXXjH97g%3DjKs%2BzQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to