-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
core 2.0
structs 1.1
DescribableModel reports an error for hudson.model.Result.
Run this in script console to reproduce:
import org.jenkinsci.plugins.structs.describable.* import jenkins.triggers.* new DescribableModel(ReverseBuildTrigger)
Result:
(upstreamProjects: String, threshold: org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of class hudson.model.Result)
- is blocking
-
JENKINS-27092 create a step to abort the build with a NOT_BUILT status
-
- Reopened
-
- is duplicated by
-
JENKINS-40304 Snippet generator does not generate valid code for ReverseBuildTrigger
-
- Resolved
-
- relates to
-
JENKINS-40307 Not passing threshold to ReverseBuildTrigger in Pipeline leads to NPEs
-
- Open
-
-
JENKINS-40849 Script security should whitelist Result classes
-
- Resolved
-
- links to
(2 links to)
Code changed in jenkins
User: Andrew Bayer
Path:
plugin/src/main/java/org/jenkinsci/plugins/structs/describable/DescribableModel.java
plugin/src/main/java/org/jenkinsci/plugins/structs/describable/DescribableParameter.java
plugin/src/main/java/org/jenkinsci/plugins/structs/describable/ParameterType.java
plugin/src/test/java/org/jenkinsci/plugins/structs/describable/DescribableModelTest.java
http://jenkins-ci.org/commit/structs-plugin/1c8a50cff6b53babc8d155b5c92b3497fe33c6b3
Log:
[FIXED JENKINS-34464] Enable DescribableModel binding for Result