Jenkins Remote API - Queue API returning 404 (wasn't before)

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: core
    • Environment:

      This may be related toΒ JENKINS-27256.

      We use the remote API to trigger a build. We then get the queue ID from the response of said trigger call and then query the queue API to determine the build number of the created build.

      This worked perfectly until yesterday (2017-10-24) when calls to the queue API started returning a 404.Β I think on this day we also updated Jenkins as we ran our Ansible playbook at our server, which starts with an `apt-get update && apt-get upgrade`.

      Code execution wise, our script is written in Node.js and we're using the "jenkins-api" package as an API client. We call `jenkins.build_with_params()`, and then immediately after we get a response we hit `jenkins.queue_item()` until we find "executable" in the data. Under the hood, the 404 is coming from "/jenkins/queue/item/<ID>/api/json". Calling the specific URL with a small delay yields the same result.

      Apologies I don't have anymore information than this as I'm not entirely sure what to provide.

            Assignee:
            Unassigned
            Reporter:
            Steve Melrose
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: