|
||||||||
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.
Unfortunate this issue is cased by the fitness-plugin not using the DataBoundConstructor as intended. Even though the plugin defines a constructor [1] with '@DataBoundConstructor', its usage is wrong.
Insted it expects the instance to be created by 'descriptor.newInstance()' [2] with some JSON parsing. There are two ways to solve this issue:
1. remove the '@DataBoundConstructor' annotation at all, this will make the conditional-buildstep plugin ignore this plugin and there fore users will not be confused anymore.
or
2. implement the constructor the correct way as intended by newer plugins
btw. the groovy plugin used to have the same issue [3]
[1] https://github.com/jenkinsci/fitnesse-plugin/blob/master/src/main/java/hudson/plugins/fitnesse/FitnesseBuilder.java#L61-L65
[2] https://github.com/jenkinsci/fitnesse-plugin/blob/master/src/main/java/hudson/plugins/fitnesse/FitnesseBuilder.java#L410-L429
[3] https://issues.jenkins-ci.org/browse/JENKINS-6797