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

buildWithParameters not taking payload content into account ?

      I may have misunderstood how this is supposed to work.

      In "normal" mode, without the plugin, when I call a job I can pass the parameters in a json payload that is in the body of my request.

      But with the plugin, it seems that I need to pass it in the url? I made some tests and wasn't able to get my parameters picked from the payload.

      Am I doing something wrong or is this not covered ?

          [JENKINS-64671] buildWithParameters not taking payload content into account ?

          Martin Goyot created issue -

          Jesse Glick added a comment -

          The JSON payload style is an implementation detail of how the GUI form shown from Build with Parameters is implemented. Programmatic build triggers should not use that.

          Jesse Glick added a comment - The JSON payload style is an implementation detail of how the GUI form shown from Build with Parameters is implemented. Programmatic build triggers should not use that.
          Jesse Glick made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          Martin Goyot added a comment -

          Okay, so programmatic build triggers must comply to the buildWithParameters way of handling, getting parameters from the url.

          Martin Goyot added a comment - Okay, so programmatic build triggers must comply to the buildWithParameters way of handling, getting parameters from the url.

          Jesse Glick added a comment -

          Or form encoded, if using POST.

          Jesse Glick added a comment - Or form encoded, if using POST .

            Unassigned Unassigned
            erwyn Martin Goyot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: