-
Improvement
-
Resolution: Unresolved
-
Minor
A pipeline is pending, I just want to continue without any parameters, so I use pipeline API to check process, but it will be returned an error: "parameters is required".
Now the request body like :
{"id":"2", "parameters":[]}it works well, but the field "parameters" is not used.
I guess If we remove "parameters" like {"id":"2"}, The function can also work well.
Perhaps support both different struct is a better choice.
[JENKINS-58406] A pipeline is pending, I just want to continue not required any parameters, so check proceed without field "parameters", is will be return error: parameters is required.
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Description |
Original:
A pipeline is pending, I just want to continue without any parameters, so I use pipeline API to check proceed, but it will be returned an error: "parameters is required" Now the request body like : {"id":"2", "parameters":[]} it works well, but the field "parameters" is not used. I guess remove "parameters" like \{"id":"2"} is more restful. |
New:
A pipeline is pending, I just want to continue without any parameters, so I use pipeline API to check process, but it will be returned an error: "parameters is required" Now the request body like : {"id":"2", "parameters":[]} it works well, but the field "parameters" is not used. I guess remove "parameters" like \{"id":"2"} is more restful. |
Description |
Original:
A pipeline is pending, I just want to continue without any parameters, so I use pipeline API to check process, but it will be returned an error: "parameters is required" Now the request body like : {"id":"2", "parameters":[]} it works well, but the field "parameters" is not used. I guess remove "parameters" like \{"id":"2"} is more restful. |
New:
A pipeline is pending, I just want to continue without any parameters, so I use pipeline API to check process, but it will be returned an error: "parameters is required". Now the request body like : {"id":"2", "parameters":[]} it works well, but the field "parameters" is not used. I guess remove "parameters" like \{"id":"2"} is more restful. |
Description |
Original:
A pipeline is pending, I just want to continue without any parameters, so I use pipeline API to check process, but it will be returned an error: "parameters is required". Now the request body like : {"id":"2", "parameters":[]} it works well, but the field "parameters" is not used. I guess remove "parameters" like \{"id":"2"} is more restful. |
New:
A pipeline is pending, I just want to continue without any parameters, so I use pipeline API to check process, but it will be returned an error: "parameters is required". Now the request body like : {"id":"2", "parameters":[]} it works well, but the field "parameters" is not used. I guess If we remove "parameters" like \{"id":"2"}, The function can also work well. Perhaps support both different struct is a better choice. |