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

DescribableHelper does not detect stray parameters

    XMLWordPrintable

Details

    • structs 1.20, workflow-cps 2.73

    Description

      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.

      Attachments

        Issue Links

          Activity

            carroll Carroll Chiou added a comment -

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

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

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

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: