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'
Suggested fix:
def get_version(self):
response = self._session.get(self._build_url(''))
return response.headers['X-Jenkins']
--
You received this bug notification because you are a member of Python
Jenkins Developers, which is subscribed to Python Jenkins.
https://bugs.launch
** Changed in: python-jenkins
Status: New => In Progress
** Changed in: python-jenkins
Assignee: (unassigned) => cburroughs (chris-burroughs)
--
You received this bug notification because you are a member of Python
Jenkins Developers, which is subscribed to Python Jenkins.
https://bu
@Puneeth, I assume you mean this change
https://review.openstack.org/#/c/305882
if so the tests are failing for it so would you mind fixing up the
tests?
--
You received this bug notification because you are a member of Python
Jenkins Developers, which is subscribed to Python Jenkins.
https://bu
i have a bit different error on jenkins 2.1. Error communications with
server
--
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
5 matches
Mail list logo