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

DescribableHelper does not handle GitSCMExtension

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • pipeline
    • None

      When these are configured in Snippet Generator, they are not properly rendered. Presumably this is because although the constructor parameter is typed simply as List<GitSCMExtension>, the getter (like the field) is declared with a somewhat exotic type: DescribableList<GitSCMExtension,GitSCMExtensionDescriptor>.

          [JENKINS-26619] DescribableHelper does not handle GitSCMExtension

          Jesse Glick created issue -
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-26753 [ JENKINS-26753 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-26535 [ JENKINS-26535 ]

          Code changed in jenkins
          User: Nicolas De Loof
          Path:
          step-api/src/main/java/org/jenkinsci/plugins/workflow/structs/DescribableHelper.java
          http://jenkins-ci.org/commit/workflow-plugin/d438925a84bf0a16c50635a703526ddf26d6efd5
          Log:
          [FIXED JENKINS-26619] java.lang.Class#isAssignableFrom need to apply on expected type
          I always have to read javadoc twice to remember how to use it.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De Loof Path: step-api/src/main/java/org/jenkinsci/plugins/workflow/structs/DescribableHelper.java http://jenkins-ci.org/commit/workflow-plugin/d438925a84bf0a16c50635a703526ddf26d6efd5 Log: [FIXED JENKINS-26619] java.lang.Class#isAssignableFrom need to apply on expected type I always have to read javadoc twice to remember how to use it.
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Jesse Glick made changes -
          Assignee Original: Jesse Glick [ jglick ] New: Nicolas De Loof [ ndeloof ]
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Jesse Glick made changes -
          Status Original: Reopened [ 4 ] New: Open [ 1 ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "PR 61 (Web Link)" [ 12130 ]
          Jesse Glick made changes -
          Assignee Original: Nicolas De Loof [ ndeloof ] New: Jesse Glick [ jglick ]

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: