The percentage that we see on startup when Jenkins is loading items are not reliable. Here is an example for a real environment:
The total number of jobs that the percentage is calculated from is usually wrong because:
- it is calculated by traversing $JENKINS_HOME/jobs and continue recursively when there is a jobs directory. However with Multibranch / Org job and (maybe other kind of item group) the item directory is different.
- it is calculated / incremented asynchronously while items are be loaded
In the same case environment as above, we saw the first messages of AbstractFolder$3#call: Loading job ... at 01:23:38 but the total that is used to calculate the percentage is still incrementing until 01:27:27 (takes about 4 minutes):