Uploaded image for project: 'Jenkins'
  1. 必威国际有限公司
  2. JENKINS-66105

Discarded buildWithParameters request with the same parameters still returns HTTP 201

    XML Printable

    Details

    • Similar Issues:
    • Released As:
      2.308

      Description

      When I use thebuildwithparametersapi, I need to submitmultiplebuild requests atone time, the parameters of these requests are thesame. I just want to queue up and build slowly.

      But the phenomenon is:

      Jenkins has only one request under building, one request in the queue, abandoning all other requests.

      I can understand that Jenkins does not want requests with the same parameters to queue repeatedly.

      The point is that each request returnsHTTP 201状态码,这让我think that all the requests were created and queued.

      But requests that are discarded or considered duplicate by Jenkins are not actually created.

      HTTP is a stateless protocol. It returns 201, but it is a task created by a previous request. This is unreasonable.

      Expect:If the request is not real created, please return the appropriate http status code.

        Attachments

          活动

          Hide
          vtvadded a comment --edited

          I mark the priority as Major because I have to use complex logic to prevent me from requesting the build of the same parameters when there are requests with the same parameters in the queue

          Show
          vtvadded a comment --editedI mark the priority as Major because I have to use complex logic to prevent me from requesting the build of the same parameters when there are requests with the same parameters in the queue
          Hide
          vtvadded a comment -

          Seepr - 5615.

          Show
          vtvadded a comment -See PR-5615 .

            People

            Assignee:
            sugonyak_ivanIvan Sugonyak
            Reporter:
            vtv
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: