[Python-jenkins-developers] [Bug 1570408] Re: get_version method returns HTTP 403

2024-01-11 Thread J D
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'

[Python-jenkins-developers] [Bug 1570408] Re: get_version method returns HTTP 403

2021-05-13 Thread Gregory Shklover
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

[Python-jenkins-developers] [Bug 1570408] Re: get_version method returns HTTP 403

2017-05-12 Thread OpenStack Infra
** 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

[Python-jenkins-developers] [Bug 1570408] Re: get_version method returns HTTP 403

2016-05-19 Thread Khai Do
@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

[Python-jenkins-developers] [Bug 1570408] Re: get_version method returns HTTP 403

2016-05-05 Thread Lil
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