← Back to team overview

python-jenkins-developers team mailing list archive

[Bug 1806381] Re: install_plugin api throwing array index out of bound exception

 

I already submitted the fixes, but no reaction from any maintainer.
Additionally CI partially didn't work at the time. I'm not sure how to
proceed after the maintainer fixed CI.

If anyone needs a quickfix, you can try my fork.
(https://github.com/ksauzz/python-jenkins)


How to use:

pip install git+https://github.com/ksauzz/python-jenkins.git@0.0.1#egg
=python-jenkins


Fixes:
- https://review.opendev.org/#/c/719058/2
- https://review.opendev.org/#/c/719059/2

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

Title:
  install_plugin api throwing array index out of bound exception

Status in Python Jenkins:
  In Progress

Bug description:
  I am using python jenkins api for automation purpose.
  following is sample code snippet.
  server=jenkins.Jenkins('http://127.0.0.1', username='admin', password='admin')

  server.install_plugin("windows-slaves")

  error-

  response = response_str.split(':')[1].strip().lower() == 'true'
  IndexError: list index out of range

  the response_str is actually ')]}'.

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/1806381/+subscriptions


References