Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-34464

DescribableModel can't inspect ReverseBuildTrigger; need binding for Result

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core, structs-plugin
    • 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)
      

            abayer Andrew Bayer
            daspilker Daniel Spilker
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: