I don't know of any specific documentation for how to enable multi configuration support, but it should be quite easy.
Step one: make the Recorder appear in the post build list for MatrixProjects. That is controlled by the isApplicable(Class<? extends AbstractProject> jobType) of the recorder's descriptor. Changing the return statement from return Project.class.isAssignableFrom(jobType); to return AbstractProject.class.isAssignableFrom(jobType); or just add an "|| MatrixProject" should take care of that. Step two: would be to aggregate the plot data up from each MatrixCombination up to the MatrixProject itself. That is done by implementing hudson.matrix.MatrixAggregatable in (I think) the Recorder or someplace else that has an extension. You can probably look up on the extension list wiki page for a list of implementations of that interface in other plugins to get some examples, or just grep for it in the all.git ;) One example is here: https://github.com/jenkinsci/build-failure-analyzer-plugin/blob/master/src/main/java/com/sonyericsson/jenkins/plugins/bfa/model/ScannerJobProperty.java The big task is to figure out how the data should be aggregated and displayed from all configurations on the main project page. But without the aggregator the plots should show up on each MatrixCombination page. Unless there is some unforeseen complications with the plot plugin in general, I'm not familiar enough with that plugin's code to determine if that's the case. Perhaps the current maintainer has some more insight into that, but the above two steps should work in general for most plugins. Robert Sandell Software Tools Engineer - SW Environment and Product Configuration Sony Mobile Communications From: [email protected] [mailto:[email protected]] On Behalf Of Jon Schewe Sent: den 13 januari 2013 19:00 To: [email protected] Subject: Plugins and multi-configuration jobs I really like the plot plugin, but it doesn't support multi-configuration jobs. Can anyone points me at one of: A) Another plugin that will generate plots and supports multi-configuration jobs B) Documentation on making a plugin support multi-configuration jobs A would be great, but if it doesn't exist I am a Java developer and would like to do B, if I could find some documentation on this. -- http://mtu.net/~jpschewe
