This is still an issue with version 1.8.2 Interesting thing
If follow Example 1 - it works! ``` import jenkins server = jenkins.Jenkins('http://localhost:8080', username='myuser', password='mypassword') user = server.get_whoami() version = server.get_version() print('Hello %s from Jenkins %s' % (user['fullName'], version)) ``` If I change the order of the calls (get_version before get_whoami), it will FAIL with 403 If I alter it to only call get_version, it will FAIL with 403 -- 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/1570408 Title: get_version method returns HTTP 403 Status in Python Jenkins: In Progress Bug description: The get_version() method doesn't seem to work and raises a HTTPError exception. how to reproduce this bug: ```` import jenkins server = jenkins.Jenkins('https://jenkins.my-org.com', username='Puneeth-n', password='12345') print server.get_version() ```` Solution: Add authentication to HTTP headers. I have submitted the code for review at master/fix/get_version To manage notifications about this bug go to: https://bugs.launchpad.net/python-jenkins/+bug/1570408/+subscriptions -- Mailing list: https://launchpad.net/~python-jenkins-developers Post to : python-jenkins-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~python-jenkins-developers More help : https://help.launchpad.net/ListHelp