Extended choice parameter plugin does not pass parameter if called via a buildWithParameters URL request

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • None
    • Environment:
      Jenkins 1.480.2, Extended-choice-parameter 0.23

      If you set up a job with an extended-choice-parameter which simply echoes the value of the parameter, and call it directly from the Jenkins UI, the parameter is correct.
      If you call the same thing using a URL request, that parameter is blank, both in the parameters when you look at the job after the fact, and in the environment when the job runs.
      It does work if you call it using a build.properties file from an upstream job.

      An example usage of the URL call is this:
      wget -O - "http://hudsonmaster1.uk.nds.com:8080/hudson/job/TEST_EXTENDED/buildWithParameters?token=hudson-ci&FIRST=MyTest&SECOND=XXX"

      TEST_EXTENDED is my test job with FIRST as a normal String parameter, SECOND is an extended choice parameter where XXX is a valid option.

      All the job does is this, as a build step:
      echo $FIRST
      echo $SECOND

            Assignee:
            vimil
            Reporter:
            Robert Kibble
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: