Data persisted for every build stat configuration allowing to create charts
on build results
WARNING : if any change is made to this class, don't miss to create a new
data migrator in the hudson.plugins.global_build_stats.xstream.migration package !
For some unknown reasons, doesn't work due to a classloader problem (FieldFilterFactory doesn't seem
to be accessible in a static way from jelly script)
For some unknown reasons, doesn't work due to a classloader problem (FieldFilterFactory doesn't seem
to be accessible in a static way from jelly script)
Hack allowing to either generate plugin informations (build stat configurations) OR
generate chart data for a given buildStatConfigId request parameter
XStream converter for GlobalBuildStatsPlugin XStream data
Allows to provide API to migrate from one version to another of persisted global build stats data
When creating a new migrator you must :
- Create a new package hudson.plugins.global_build_stats.xstream.migration.v[X]
- Inside this package, copy/paste every classes located in hudson.plugins.global_build_stats.xstream.migration.v[X-1]
- Rename every *V[X-1]* POJOs to *V[X]* POJO
- Eventually, change attributes in V[X]GlobalBuildStatsPOJO (for example, if additionnal attribute has appeared)
- If parsing algorithm has changed, update V[X]XstreamReader with the new algorithm (if, for example, new root elements
has appeared in XStream file)
- Update GlobalBuildStatsXStreamConverter.populateGlobalBuildStatsPlugin() and cast pojo parameter to last
V[X]GlobalBuildStatsPOJO
- Update GlobalBuildStatsXStreamConverter.READERS and GlobalBuildStatsXStreamConverter.MIGRATORS with new provided classes
Data persisted in the end of every build
WARNING : if any change is made to this class, don't miss to create a new
data migrator in the hudson.plugins.global_build_stats.xstream.migration package !