|
When using HtmlPublisher 1.2 in Jenkins 1.492 I can add a new html report to the configurartion using the web interface without any problems and everything works fine.
If I "Reload Configuration From Disk", the htmlpublisher post build action disappears, and instead I get a "You have data stored in an older format and/or unreadable data." message from Jenkins.
If I go to the "Manage Old Data" the following is shown:
hudson.model.FreeStyleProject
[Job Name]
CannotResolveClassException: htmlpublisher.HtmlPublisher : htmlpublisher.HtmlPublisher
The xml in the config file is as follows:
<htmlpublisher.HtmlPublisher plugin="[email protected]">
<reportTargets>
<htmlpublisher.HtmlPublisherTarget>
<reportName>Errors</reportName>
<reportDir>$Workspace\Results</reportDir>
<reportFiles>errors.xml</reportFiles>
<keepAll>true</keepAll>
<wrapperName>htmlpublisher-wrapper.html</wrapperName>
</htmlpublisher.HtmlPublisherTarget>
</reportTargets>
</htmlpublisher.HtmlPublisher>
Reverting to htmlpublisher 1.0 fixes the problem
|