The progress bar is normally empty, filling with blue while a build in progress.
The amount of time it takes the progress bar to fill is based on the estimated job duration. This estimate is generally based on the average duration of the last few successful builds.
If there is no previous job data upon which to make a time estimation, the progress bar shows a stripy-blue animation.
From the build progress bar definition (as Jenkins 1.560), we can see that the property red
becomes set when the build executor "is likely stuck" — i.e. it is taking significantly longer than the estimated time to complete.
Looking at the progressBar
tag implementation, setting the red
property causes the table.progress-bar.red
CSS property to be applied to the bar.
In the Executor
source code, we see that Jenkins defines "stuck" as the build taking ten times longer than the estimate. If there is no estimate, any build taking longer than 24 hours is considered stuck.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…