OK, now I understand what you're trying to say, and yeah, it does sound like Jenkins' API is at fault here. (Have I ever mentioned just how much I hate Jenkins? :) What do you think about calling cancel_queue() a best-effort operation? After all, there's usually a tiny window between when a build is queued to when it's popped off the queue, assigned a build number, and started.
-- You received this bug notification because you are a member of Python Jenkins Developers, which is subscribed to Python Jenkins. https://bugs.launchpad.net/bugs/1246468 Title: Jenkins returning 404 cannot be distinguished Status in Python API for Jenkins: Incomplete Bug description: If a non-GET request is made for a resource which doesn't exist—such as cancelling a non-existant queue item—no exception or error is reported to the user. At the very least, a distinguishable error should be raised. (Distinguishable in that it should not be JenkinsException, although it should be a subclass of JenkinsException). To manage notifications about this bug go to: https://bugs.launchpad.net/python-jenkins/+bug/1246468/+subscriptions -- Mailing list: https://launchpad.net/~python-jenkins-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~python-jenkins-developers More help : https://help.launchpad.net/ListHelp

