I found wrong codes in Flexible publish handling error messages.
The message "Failed to instantiate class org.jenkins_ci.plugins.flexible_publish.ConditionalPublisher" was wrong,
but should be:

Failed to instantiate: class not found ["hudson.tasks.test.AggregatedTestResultPublisher","hudson.tasks.ArtifactArchiver","hudson.tasks.BuildTrigger","hudson.tasks.junit.JUnitResultArchiver","hudson.tasks.JavadocArchiver","org.jenkinsci.plugins.xunit.XUnitPublisher","hudson.tasks.Fingerprinter","hudson.tasks.Mailer"]

I'll fix this problem (improper error message) in the next release.

The root cause is that, Jenkins passes a broken json data.
I attach that json.
"stapler-class" should be the class name of the selected publisher, but passed a list of all publishers.

I'm not sure why this happens only when combined with xUnit plugin.

Change By: ikedam (27/Jan/14 3:01 PM)
Attachment: posted_json.txt
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to