The behavior we are seeing for some jobs is the disk usage calculation runs and 
is displayed in the console for every build, regardless of how much time has 
passed.

Running disk usage every build: that behavior seems to have been added here: 
https://issues.jenkins-ci.org/browse/JENKINS-10116.

But running disk usage periodically was added here: 
https://issues.jenkins-ci.org/browse/JENKINS-13246.

But the plugin page says "When you install this plugin disk usage is calculated 
each 60 minutes." https://wiki.jenkins-ci.org/display/JENKINS/Disk+Usage+Plugin

The Jenkins configuration UI exposes cron-like options for disk usage 
calculation of builds, jobs, and workspace, and default to value "0 */6 * * *", 
which appears to intended to run every 60 minutes. We currently have the 
default setting.

Question: what is the intended default behavior? Every build or every 60 
minutes? Every 60 minutes per job? Every 60 minutes globally?

Another behavior is after the user-created portion of the build completes but 
before disk usage is finished calculating, the xml api of the build returns 
"<result>SUCCESS</result>", the xml api of the job returns "lastCompletedBuild" 
as the build that has disk usage calculating, however "lastSuccessfulBuild" and 
"lastStableBuild" are not updated until after the disk usage calculation is 
complete.

Question: when should a build be considered officially complete? Before or 
after the disk usage calculation? And therefore shouldn't "lastCompletedBuild" 
agree with "last(un)SuccessfulBuild" and "lastStableBuild"? Or can a build be 
"completed" but neither successful nor unsuccessful?

Jenkins 1.596.1
disk-usage plugin 0.25

Thanks,

Jesse


________________________________

The information in this Internet Email is confidential and may be legally 
privileged. It is intended solely for the addressee. Access to this Email by 
anyone else is unauthorized. If you are not the intended recipient, any 
disclosure, copying, distribution or any action taken or omitted to be taken in 
reliance on it, is prohibited and may be unlawful. When addressed to our 
clients any opinions or advice contained in this Email are subject to the terms 
and conditions expressed in any applicable governing The Home Depot terms of 
business or client engagement letter. The Home Depot disclaims all 
responsibility and liability for the accuracy and content of this attachment 
and for any damages or losses arising from any inaccuracies, errors, viruses, 
e.g., worms, trojan horses, etc., or other items of a destructive nature, which 
may be contained in this attachment and shall not be liable for direct, 
indirect, consequential or special damages in connection with this e-mail 
message or its attachment.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/736C8F179EBDE343B1EA3BCCEDCB60CA15AE70AD%40BLUPRD6101MB004.025d.mgd.msft.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to