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

DescribableHelper does not detect stray parameters

    • structs 1.20, workflow-cps 2.73

      Spent some time trying to track down why

      git url: '...', credentials: '...'
      

      was not working, until I realized that the parameter name was credentialsId.

      DescribableHelper should be able to detect a map parameter which could not be bound to any known property, and throw a meaningful error.

          [JENKINS-33217] DescribableHelper does not detect stray parameters

          Carroll Chiou added a comment -

          A fix for this issue has been released in version 1.20 of structs

          Carroll Chiou added a comment - A fix for this issue has been released in version 1.20 of structs

          Devin Nusbaum added a comment -

          The changes in Structs have been integrated into Pipeline: Groovy Plugin version 2.73 for Pipeline steps.

          Devin Nusbaum added a comment - The changes in Structs have been integrated into Pipeline: Groovy Plugin version 2.73 for Pipeline steps.

            carroll Carroll Chiou
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: