[JIRA] (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.

9 views
Skip to first unread message

zhuxiaoyang1996@gmail.com (JIRA)

unread,
Jul 9, 2019, 11:38:02 AM7/9/19
to jenkinsc...@googlegroups.com
zhu xiaoyang created an issue
 
Jenkins / Improvement 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.
Issue Type: Improvement Improvement
Assignee: zhu xiaoyang
Components: blueocean-plugin
Created: 2019-07-09 15:37
Labels: blueocean improvement
Priority: Minor Minor
Reporter: zhu xiaoyang

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.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

zhuxiaoyang1996@gmail.com (JIRA)

unread,
Jul 9, 2019, 11:40:02 AM7/9/19
to jenkinsc...@googlegroups.com
zhu xiaoyang started work on Improvement JENKINS-58406
 
Change By: zhu xiaoyang
Status: Open In Progress

zhuxiaoyang1996@gmail.com (JIRA)

unread,
Jul 9, 2019, 11:43:02 AM7/9/19
to jenkinsc...@googlegroups.com
zhu xiaoyang updated an issue
Change By: zhu xiaoyang
A pipeline is pending, I just want to continue without any parameters, so I use pipeline API to check proceed 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.

zhuxiaoyang1996@gmail.com (JIRA)

unread,
Jul 9, 2019, 11:43:02 AM7/9/19
to jenkinsc...@googlegroups.com
zhu xiaoyang updated an issue
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.

zhuxiaoyang1996@gmail.com (JIRA)

unread,
Jul 9, 2019, 11:57:01 AM7/9/19
to jenkinsc...@googlegroups.com
zhu xiaoyang updated an issue
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 more restful a better choice .
Reply all
Reply to author
Forward
0 new messages