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

submitterParameter does not work without at least one actual parameter

    XMLWordPrintable

Details

    Description

      Hello,

      According to the documentation I should be able to do the following:

      def ret = input(message: 'some message', submitterParameter: 'username_approval')
      println(ret['username_approval'])

      However I only receive a null object instead of the expected map.

      Regards,

      Attachments

        Issue Links

          Activity

            acecile Adam Cecile created issue -
            acecile Adam Cecile made changes -
            Field Original Value New Value
            Description Hello,

            According to the documentation I should be able to do the following:

            {{
            def ret = input(message: 'some message', submitterParameter: 'username_approval')
            println(ret['username_approval'])
            }}

            However I only receive a null object instead of the expected map.

            Regards,
            Hello,

            According to the documentation I should be able to do the following:

            {{def ret = input(message: 'some message', submitterParameter: 'username_approval')
            println(ret['username_approval'])}}

            However I only receive a null object instead of the expected map.

            Regards,
            acecile Adam Cecile made changes -
            Description Hello,

            According to the documentation I should be able to do the following:

            {{def ret = input(message: 'some message', submitterParameter: 'username_approval')
            println(ret['username_approval'])}}

            However I only receive a null object instead of the expected map.

            Regards,
            Hello,

            According to the documentation I should be able to do the following:

            def ret = input(message: 'some message', submitterParameter: 'username_approval')
            println(ret['username_approval'])

            However I only receive a null object instead of the expected map.

            Regards,
            kaulk Kuber Kaul made changes -
            Link This issue is blocking JENKINS-31396 [ JENKINS-31396 ]
            kaulk Kuber Kaul made changes -
            Assignee Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Summary submitterParameter returns nothing submitterParameter does not work without at least one actual parameter
            jglick Jesse Glick made changes -
            Assignee Jesse Glick [ jglick ]
            kaulk Kuber Kaul made changes -
            Labels pipeline-input
            kaulk Kuber Kaul made changes -
            Priority Minor [ 4 ] Critical [ 2 ]
            jhovell John Hovell made changes -
            Comment [ I realize this is a bit off topic but is there a separate issue for having a feature to just add a new repository (or delete a no longer needed repo) by name instead of needing to scan the entire org to pick up a new repo? I feel like this would eliminate 99% of the use cases to need to scan the organization at all. Thanks! ]
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-42897 [ JENKINS-42897 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "PR 13 (Web Link)" [ 16300 ]
            jglick Jesse Glick made changes -
            Labels pipeline-input
            tangkun75 Kun Tang made changes -
            Assignee Kun Tang [ tangkun75 ]
            tangkun75 Kun Tang made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            jglick Jesse Glick made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]

            People

              tangkun75 Kun Tang
              acecile Adam Cecile
              Votes:
              5 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: