DescribableModel can't inspect ReverseBuildTrigger; need binding for Result

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: core, structs-plugin
    • None
    • Environment:
      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)
      

            Assignee:
            Andrew Bayer
            Reporter:
            Daniel Spilker
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: