-
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)
[JENKINS-34464] DescribableModel can't inspect ReverseBuildTrigger; need binding for Result
Summary | Original: DescribableModel can't inspect ReverseBuildTrigger | New: DescribableModel can't inspect ReverseBuildTrigger; need binding for Result |
Epic Link | New: JENKINS-35393 [ 171186 ] |
Link | New: This issue is blocking JENKINS-27092 [ JENKINS-27092 ] |
Workflow | Original: JNJira [ 170583 ] | New: JNJira + In-Review [ 183964 ] |
Link |
New:
This issue relates to |
Link | New: This issue relates to JENKINS-40307 [ JENKINS-40307 ] |
Link |
New:
This issue is duplicated by |
Assignee | Original: Kohsuke Kawaguchi [ kohsuke ] | New: Andrew Bayer [ abayer ] |
Also ReverseBuildTrigger should be fixed to use @DataBoundSetter for threshold so that the default in the UI of SUCCESS would apply also in code.