Comment 5 for bug 1570408

Revision history for this message
J D (jdearte) wrote :

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