python-jenkins-developers team mailing list archive
-
python-jenkins-developers team
-
Mailing list archive
-
Message #00663
[Bug 1806381] Re: install_plugin api throwing array index out of bound exception
Ran into the issue as well. Merging the fix would be nice, as it seems
to work. What needs to be done to finish it?
--
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