mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 05:52:26 +00:00
fixed #399.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2766 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
80f2a65630
commit
22ca90e7f5
1 file changed
+3
-1
@@ -568,8 +568,10 @@ public abstract class Job<JobT extends Job<JobT,RunT>, RunT extends Run<JobT,Run
|
||||
}
|
||||
|
||||
DataSetBuilder<String,Label> data = new DataSetBuilder<String, Label>();
|
||||
for( Run r : getBuilds() )
|
||||
for( Run r : getBuilds() ) {
|
||||
if(r.isBuilding()) continue;
|
||||
data.add( ((double)r.getDuration())/(1000*60), "mins", new Label(r));
|
||||
}
|
||||
|
||||
final CategoryDataset dataset = data.build();
|
||||
|
||||
|
||||
Reference in new issue
Block a user