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

DescribableHelper does not detect stray parameters

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      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

            Hide
            carroll Carroll Chiou added a comment -

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

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

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

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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: