← Back to team overview

python-jenkins-developers team mailing list archive

[Bug 1570408] [NEW] get_version method returns HTTP 403

 

Public bug reported:

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

** Affects: python-jenkins
     Importance: Undecided
         Status: New


** Tags: 403 httperror version

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

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


Follow ups