Seeing some sort of loadstatistics based nodeplanning when using Jenkins cloud module in the plugin which throttles how quickly Jenkins executes concurrent jobs on available nodes in the cloud

4 views
Skip to first unread message

man...@veertu.com

unread,
Sep 7, 2017, 11:02:50 AM9/7/17
to Jenkins Users
Hi, 

We are using Jenkins cloud module in the plugin that we have built. And, one of things we see that in Jenkins uses a concept of loadstatistics to
allocate nodes through cloud. This means that if there are more jobs in the queue it allocates available nodes more quickly,
then when there are less.

This is a problem with our plugin, because our plugin dynamically creates nodes in the cloud when job requests are created. However, Jenkins is not
allocating these avaialble nodes quickly to the job, whn the job count is less.

If there anyway to override this, so there is no loadstatistics based node planning?

We found this in 

jenkins /core/src/main/java/hudson/slaves/NodeProvisioner.java


* Uses the {@link LoadStatistics} and determines when we need to allocate
 * new {@link Node}s through {@link Cloud}.

Thanks.

Reply all
Reply to author
Forward
0 new messages