Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. 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.

      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.

          zhu xiaoyang created issue -
          zhu xiaoyang made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          zhu xiaoyang made changes -
          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.
          zhu xiaoyang made changes -
          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.
          zhu xiaoyang made changes -
          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.

            zhuxiaoyang zhu xiaoyang
            zhuxiaoyang zhu xiaoyang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: