← Back to team overview

python-jenkins-developers team mailing list archive

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

 

** Information type changed from Public Security to Public

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

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