I've played around a little bit with the source code today, but still can't figure out what the problem is.
I've added a few lines of code at the end of the method DiskUsageThread.calculateWorkspaceDiskUsage() to verify everything is properly stored:

lastBuild.save();
// load the values that have been saved to verify
BuildDiskUsageAction loaded = lastBuild.getAction(BuildDiskUsageAction.class);
DiskUsage duTmp = loaded.getDiskUsage();

Everything seems to be ok here as I can see the expected values in "duTmp".
However, when loading the values in ProjectDiskUsageAction.getDiskUsage() there is no data found to display. "project.getBuilds().iterator()" iterates over all builds found, but none of these builds has an action (always null).
Any suggestions how I could investigate any further?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to