python-jenkins-developers team mailing list archive
-
python-jenkins-developers team
-
Mailing list archive
-
Message #00006
[Bug 811044] [NEW] With authorization, build job doesn't work using POST request
Public bug reported:
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_open(urllib2.Request(self.build_job_url(name, parameters,
token), ''))
If I remove the empty data string (which I understand means the request
is GET rather than POST), everything works fine.
return
self.jenkins_open(urllib2.Request(self.build_job_url(name, parameters,
token)))
Not really sure if the cause for this is a bug in Jenkins or a problem with your script?
** Affects: python-jenkins
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Python
Jenkins Developers, which is the registrant for Python Jenkins.
https://bugs.launchpad.net/bugs/811044
Title:
With authorization, build job doesn't work using POST request
Status in Python API for Jenkins:
New
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_open(urllib2.Request(self.build_job_url(name, parameters,
token), ''))
If I remove the empty data string (which I understand means the
request is GET rather than POST), everything works fine.
return
self.jenkins_open(urllib2.Request(self.build_job_url(name, parameters,
token)))
Not really sure if the cause for this is a bug in Jenkins or a problem with your script?
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/811044/+subscriptions
Follow ups
-
[Bug 811044] Re: With authorization, build job doesn't work using POST request
From: Tom Wood, 2011-09-16
-
[Bug 811044] Re: With authorization, build job doesn't work using POST request
From: James Page, 2011-08-10
-
[Bug 811044] Re: With authorization, build job doesn't work using POST request
From: Tom Wood, 2011-07-19
-
[Bug 811044] Re: With authorization, build job doesn't work using POST request
From: James Page, 2011-07-18
-
[Bug 811044] Re: With authorization, build job doesn't work using POST request
From: Launchpad Bug Tracker, 2011-07-18
-
[Bug 811044] Re: With authorization, build job doesn't work using POST request
From: James Page, 2011-07-18
-
[Bug 811044] Re: With authorization, build job doesn't work using POST request
From: James Page, 2011-07-18
-
[Bug 811044] Re: With authorization, build job doesn't work using POST request
From: Tom Wood, 2011-07-18
-
[Bug 811044] Re: With authorization, build job doesn't work using POST request
From: Tom Wood, 2011-07-15
-
[Bug 811044] Re: With authorization, build job doesn't work using POST request
From: Tom Wood, 2011-07-15
-
[Bug 811044] Re: With authorization, build job doesn't work using POST request
From: James Page, 2011-07-15
-
[Bug 811044] Re: With authorization, build job doesn't work using POST request
From: James Page, 2011-07-15
-
[Bug 811044] [NEW] With authorization, build job doesn't work using POST request
From: Tom Wood, 2011-07-15
References