mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-06 08:36:01 +00:00
be1f8f91a3dcdcdfd2ed07198659e7eb68abf1f7
Until now, Jenkins.overallNodeProvisioner was tracking an inconsistent pair of numbers. On one hand, it was tracking all the executors in the system, but then it was also only tracking the # of free-roaming label-unassigned jobs as the queue length. So if all your slaves are set with Node.Mode.EXCLUSIVE and you have some free-roaming jobs, then it'll never tickle NodePrivisioner. In other words, the # of executors weren't reflecting the actual # of executors that can execute what's counted as the queue length. See the problem report at https://groups.google.com/forum/?fromgroups#!topic/jenkinsci-dev/bUwGEgOwv4Q To fix this, I introduced another LoadStatistics that only counts the # of executors that can execute free-roaming jobs, and # of free-roaming jobs as the queue length. In this way, two pairs of numbers are consistent. This now allows us to use overallLoadStatistics for really the entire system, including all executors and the total queue length. This is primarily for administrators to see the resource utilization, and it is not useful for NodeProvisioner input because it's mixing too many different things. The semantics change in OverallLoadStatistics.queueLength allows us to deprecate its totalQueueLength field.
Jenkins CI
Copyright © 2004-, Kohsuke Kawaguchi, Sun Microsystems, Inc., and a number of other of contributers. Licensed under MIT License.
About
In a nutshell Jenkins CI is the leading open-source continuous integration server. Built with Java, it provides over 300 plugins to support building and testing virtually any project.
Downloads
Non-source downloads such as WAR file and several Linux packages can be found on our Mirrors.
Source
Our latest and greatest source of Jenkins CI can be found on GitHub. Fork us!
News and Website
All about Jenkins CI can be found on our website. Follow us on Twitter @jenkinsci.
Description
No description provided
cicdcontinuous-deliverycontinuous-deploymentcontinuous-integrationdevopsgroovyhacktoberfestjavajenkinspipelines-as-code
Readme
MIT
296 MiB
0 Stars
1 Watchers
0 Forks
Languages
Java
87.2%
HTML
6.4%
JavaScript
3.3%
SCSS
2.2%
Groovy
0.3%
Other
0.5%
