With authorization, build job doesn't work using POST request
Bug #811044 reported by
Tom Wood
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python Jenkins |
Fix Released
|
Low
|
James Page |
Bug Description
I've just stumbled into this project and am trying to use your latest version from source control along with Jenkins version 1.420 (the Ubuntu package version).
Using authorization, I get a 403 response to the request in build_job:
return self.jenkins_
If I remove the empty data string (which I understand means the request is GET rather than POST), everything works fine.
return self.jenkins_
Not really sure if the cause for this is a bug in Jenkins or a problem with your script?
Related branches
lp:~soren/python-jenkins/add-crumb
- Python Jenkins Developers: Pending requested
-
Diff: 51 lines (+19/-1)1 file modifiedjenkins/__init__.py (+19/-1)
Changed in python-jenkins: | |
status: | Incomplete → New |
Changed in python-jenkins: | |
importance: | Undecided → Low |
status: | New → Fix Committed |
Changed in python-jenkins: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
1.396 does not seem to have this issue; just installing 1.420 to see if this has changed