I define an input in my pipeline with two parameters
If I run this job and then call the input endpoint through a POST call (not through the web interface) only giving one parameter firstParam, the value of 'result' will be a string containing the content of my firstParam parameter from the POST.
If I call the POST action with two params (firstParam and secondParam), the value of 'result' will be a map of key values.
I have two problems with that:
- In the first scenario, there is no way of knowing what was the name of the parameter received by jenkins and thus mapping the value received to the correct parameter
- The default value for parameter seems to be lost, I would expect in the first scenario to receive the value 'two' for the parameter 'secondParam'