Issue Type: Bug Bug
Assignee: stephenconnolly
Attachments: config.xml
Components: cobertura-plugin
Created: 08/Apr/15 8:43 AM
Description:

I setup the cobertura coverage report in my iOS jenkins job.
After I modifying slightly the SCM part and copying xml to jenkins for feature branches.

Unfortunately all post build actions are lost.
I've created SO question:
http://stackoverflow.com/questions/29488210/jenkins-doesnt-load-publishers-section-from-config-xml

And as suggested I found next error:
hudson.plugins.cobertura.targets.CoverageMetric.METHOD : No enum const class hudson.plugins.cobertura.targets.CoverageMetric.METHOD ---- Debugging information ---- message : No enum const class hudson.plugins.cobertura.targets.CoverageMetric.METHOD cause-exception : java.lang.IllegalArgumentException cause-message : No enum const class hudson.plugins.cobertura.targets.CoverageMetric.METHOD class : hudson.plugins.cobertura.targets.CoverageMetric required-type : hudson.plugins.cobertura.targets.CoverageMetric converter-type : com.thoughtworks.xstream.converters.enums.EnumConverter path : /project/publishers/hudson.plugins.cobertura.CoberturaPublisher/healthyTarget/targets/entry/hudson.plugins.cobertura.targets.CoverageMetric line number : 3 class[1] : java.util.EnumMap converter-type[1] : com.thoughtworks.xstream.converters.enums.EnumMapConverter -------------------------------, MissingFieldException: No field 'int' found in class 'hudson.plugins.cobertura.targets.CoverageTarget', MissingFieldException: No field 'entry' found in class 'hudson.plugins.cobertura.CoberturaPublisher', MissingFieldException: No field 'entry' found in class 'hudson.plugins.cobertura.CoberturaPublisher', ConversionException: hudson.plugins.cobertura.targets.CoverageTarget cannot be cast to hudson.util.DescribableList : hudson.plugins.cobertura.targets.CoverageTarget cannot be cast to hudson.util.DescribableList ---- Debugging information ---- message : hudson.plugins.cobertura.targets.CoverageTarget cannot be cast to hudson.util.DescribableList cause-exception : java.lang.ClassCastException cause-message : hudson.plugins.cobertura.targets.CoverageTarget cannot be cast to hudson.util.DescribableList class : hudson.util.DescribableList required-type : hudson.plugins.cobertura.targets.CoverageTarget converter-type : hudson.util.DescribableList$ConverterImpl path : /project/publishers/hudson.plugins.cobertura.CoberturaPublisher/healthyTarget line number : 5 -------------------------------, MissingFieldException: No field 'unhealthyTarget' found in class 'hudson.model.FreeStyleProject', MissingFieldException: No field 'failingTarget' found in class 'hudson.model.FreeStyleProject', MissingFieldException: No field 'sourceEncoding' found in class 'hudson.model.FreeStyleProject'

I'm also attaching original xml

Environment: org.jenkins-ci.main:jenkins-war:1.602
org.jenkins-ci.plugins:cobertura:1.9.7
Project: Jenkins
Priority: Blocker Blocker
Reporter: Eugen Martynov
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

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to