python-jenkins-developers team mailing list archive
-
python-jenkins-developers team
-
Mailing list archive
-
Message #00186
[Bug 1246466] Re: cancel_queue() does not work, must use POST not GET
Reviewed: https://review.openstack.org/138964
Committed: https://git.openstack.org/cgit/stackforge/python-jenkins/commit/?id=5d52721264ed2e6aec466d8d1faff96e1962a501
Submitter: Jenkins
Branch: master
commit 5d52721264ed2e6aec466d8d1faff96e1962a501
Author: Khai Do <zaro0508@xxxxxxxxx>
Date: Wed Dec 3 22:36:20 2014 -0800
Fix cancel_queue() method
The cancel_queue() method needed updating because the jenkins URL
for it has changed and the request requires a POST to work.
Closes-Bug: #1246466
Change-Id: I89fcee3715c67a989a08ca75c0232c4fd87375c0
** Changed in: python-jenkins
Status: In Progress => Fix Committed
--
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/1246466
Title:
cancel_queue() does not work, must use POST not GET
Status in Python API for Jenkins:
Fix Committed
Bug description:
The Jenkins.cancel_queue() method does not actually cancel a queued
item. An investigation revealed that Jenkins (v1.529) wants a POST
rather than a GET, when accessing 'queue/item/%(number)s/cancelQueue'.
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/1246466/+subscriptions
References