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

DescribableModel can't inspect ReverseBuildTrigger; need binding for Result

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • core, structs-plugin
    • None
    • core 2.0
      structs 1.1

    Description

      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)
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: