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

Extended choice parameters not captured with python jenkinsapi invocation

      When invoking a job with extended choice parameters via jenkinsapi in Python, the extended choice parameters are not captured by Jenkins but the normal parameters are.

      I will attach a traffic capture when I get to a computer.
      I'm afraid I can't do this due to security reasons. If more information is required I'll be happy to provide it.

      Jenkins: 1.545
      Extended Choice Parameter: 0.30

          [JENKINS-23726] Extended choice parameters not captured with python jenkinsapi invocation

          Michael Davis created issue -
          Michael Davis made changes -
          Description Original: When invoking a job with extended choice parameters via jenkinsapi in Python, the extended choice parameters are not captured by Jenkins but the normal parameters are. New: When invoking a job with extended choice parameters via jenkinsapi in Python, the extended choice parameters are not captured by Jenkins but the normal parameters are.

          I will attach a traffic capture when I get to a computer.

          Michael Davis added a comment -

          I ran with wireshark and it looks like it's just sending normal application/x-www-form-urlencoded.

          The browser generates multipart/form-data and includes json as well.

          I'm not familiar with Jenkins internals so please bear with me.

          Michael Davis added a comment - I ran with wireshark and it looks like it's just sending normal application/x-www-form-urlencoded. The browser generates multipart/form-data and includes json as well. I'm not familiar with Jenkins internals so please bear with me.
          Michael Davis made changes -
          Description Original: When invoking a job with extended choice parameters via jenkinsapi in Python, the extended choice parameters are not captured by Jenkins but the normal parameters are.

          I will attach a traffic capture when I get to a computer.
          New: When invoking a job with extended choice parameters via jenkinsapi in Python, the extended choice parameters are not captured by Jenkins but the normal parameters are.

          I will attach a traffic capture when I get to a computer.

          Jenkins: 1.545
          Extended Choice Parameter: 0.30
          Michael Davis made changes -
          Description Original: When invoking a job with extended choice parameters via jenkinsapi in Python, the extended choice parameters are not captured by Jenkins but the normal parameters are.

          I will attach a traffic capture when I get to a computer.

          Jenkins: 1.545
          Extended Choice Parameter: 0.30
          New: When invoking a job with extended choice parameters via jenkinsapi in Python, the extended choice parameters are not captured by Jenkins but the normal parameters are.

          -I will attach a traffic capture when I get to a computer.-
          I'm afraid I can't do this due to security reasons. If more information is required I'll be happy to provide it.

          Jenkins: 1.545
          Extended Choice Parameter: 0.30

          John Beard added a comment -

          That's true, but furthermore when you send the request from the browser, it's a GET to job/JOBNAME/build, whereas jenkinsapi is sending a POST to job/JOBNAME/buildWithParameters.

          John Beard added a comment - That's true, but furthermore when you send the request from the browser, it's a GET to job/JOBNAME/build, whereas jenkinsapi is sending a POST to job/JOBNAME/buildWithParameters.
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 156514 ] New: JNJira + In-Review [ 179303 ]

            vimil vimil
            mjmdavis Michael Davis
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: