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

DescribableModel can't inspect ReverseBuildTrigger; need binding for Result

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core, structs-plugin
    • Labels:
      None
    • Environment:
      core 2.0
      structs 1.1
    • Similar Issues:

      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

            Hide
            abayer Andrew Bayer added a comment -

            Fixed in structs 1.7 release.

            Show
            abayer Andrew Bayer added a comment - Fixed in structs 1.7 release.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Andrew Bayer
            Path:
            pom.xml
            src/test/java/org/jenkinsci/plugins/workflow/multibranch/JobPropertyStepTest.java
            http://jenkins-ci.org/commit/workflow-multibranch-plugin/ec7abe9bfe60caeaeaa55df949eb1b2b04cbfa5d
            Log:
            JENKINS-34464 Test for Result working in Snippet Generator

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: pom.xml src/test/java/org/jenkinsci/plugins/workflow/multibranch/JobPropertyStepTest.java http://jenkins-ci.org/commit/workflow-multibranch-plugin/ec7abe9bfe60caeaeaa55df949eb1b2b04cbfa5d Log: JENKINS-34464 Test for Result working in Snippet Generator
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Andrew Bayer
            Path:
            pom.xml
            src/test/java/org/jenkinsci/plugins/workflow/multibranch/JobPropertyStepTest.java
            http://jenkins-ci.org/commit/workflow-multibranch-plugin/adf46741ea0520c42aea62cc02c916ff5a8e6d21
            Log:
            Merge pull request #63 from abayer/jenkins-34464

            JENKINS-34464 Test for Result working in Snippet Generator

            Compare: https://github.com/jenkinsci/workflow-multibranch-plugin/compare/0f5fae969de6...adf46741ea05

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: pom.xml src/test/java/org/jenkinsci/plugins/workflow/multibranch/JobPropertyStepTest.java http://jenkins-ci.org/commit/workflow-multibranch-plugin/adf46741ea0520c42aea62cc02c916ff5a8e6d21 Log: Merge pull request #63 from abayer/jenkins-34464 JENKINS-34464 Test for Result working in Snippet Generator Compare: https://github.com/jenkinsci/workflow-multibranch-plugin/compare/0f5fae969de6...adf46741ea05
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Andrew Bayer
            Path:
            core/src/main/java/jenkins/triggers/ReverseBuildTrigger.java
            http://jenkins-ci.org/commit/jenkins/3b712af2ded342d992aed559fcce314e11bb32b7
            Log:
            JENKINS-34464 Switch ReverseBuildTrigger.threshold to DataBoundSetter

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: core/src/main/java/jenkins/triggers/ReverseBuildTrigger.java http://jenkins-ci.org/commit/jenkins/3b712af2ded342d992aed559fcce314e11bb32b7 Log: JENKINS-34464 Switch ReverseBuildTrigger.threshold to DataBoundSetter
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Daniel Beck
            Path:
            core/src/main/java/jenkins/triggers/ReverseBuildTrigger.java
            http://jenkins-ci.org/commit/jenkins/4515a075182e3dd98bec027047ed8385be137064
            Log:
            Merge pull request #2895 from abayer/jenkins-34464

            JENKINS-34464 Switch ReverseBuildTrigger.threshold to DataBoundSetter

            Compare: https://github.com/jenkinsci/jenkins/compare/2b8b18997945...4515a075182e

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: core/src/main/java/jenkins/triggers/ReverseBuildTrigger.java http://jenkins-ci.org/commit/jenkins/4515a075182e3dd98bec027047ed8385be137064 Log: Merge pull request #2895 from abayer/jenkins-34464 JENKINS-34464 Switch ReverseBuildTrigger.threshold to DataBoundSetter Compare: https://github.com/jenkinsci/jenkins/compare/2b8b18997945...4515a075182e

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: