Seems similar to #1177831 which states build_job with parameters fails
since POST is not used.

See patch https://review.openstack.org/#/c/122462/1/jenkins/__init__.py
which might well solve both bugs.

** Summary changed:

- cancel_queue() does not work
+ cancel_queue() does not work, must use POST not GET

-- 
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:
  New

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

-- 
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

Reply via email to