python-jenkins-developers team mailing list archive
-
python-jenkins-developers team
-
Mailing list archive
-
Message #00069
[Bug 1177831] [NEW] build_job with parameters fails since POST is not used.
Public bug reported:
Jenkins requires a POST when a job URL has parameters. Since python-
jenkins does not pass urllib2.urlopen a data value a GET is used
instead. This results in a failure and the Jenkins error page is
returned.
To reproduce this bug:
- Create a job with parameters.
- In ipython:
import jenkins
j = jenkins.Jenkins(url)
j.build_job(job_name, {param : value})
This will fail.
** Affects: python-jenkins
Importance: Undecided
Status: New
--
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/1177831
Title:
build_job with parameters fails since POST is not used.
Status in Python API for Jenkins:
New
Bug description:
Jenkins requires a POST when a job URL has parameters. Since python-
jenkins does not pass urllib2.urlopen a data value a GET is used
instead. This results in a failure and the Jenkins error page is
returned.
To reproduce this bug:
- Create a job with parameters.
- In ipython:
import jenkins
j = jenkins.Jenkins(url)
j.build_job(job_name, {param : value})
This will fail.
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/1177831/+subscriptions
Follow ups
-
[Bug 1177831] Re: build_job with parameters fails since POST is not used.
From: Khai Do, 2014-12-28
-
[Bug 1177831] Re: build_job with parameters fails since POST is not used.
From: OpenStack Infra, 2014-12-15
-
[Bug 1177831] Re: build_job with parameters fails since POST is not used.
From: Khai Do, 2014-12-04
-
[Bug 1177831] Re: build_job with parameters fails since POST is not used.
From: Antoine "hashar" Musso, 2014-11-12
-
[Bug 1177831] Re: build_job with parameters fails since POST is not used.
From: Khai Do, 2014-11-12
-
[Bug 1177831] Re: build_job with parameters fails since POST is not used.
From: Khai Do, 2014-11-12
-
[Bug 1177831] Re: build_job with parameters fails since POST is not used.
From: Khai Do, 2014-11-06
-
[Bug 1177831] Re: build_job with parameters fails since POST is not used.
From: Antoine "hashar" Musso, 2014-09-26
-
[Bug 1177831] Re: build_job with parameters fails since POST is not used.
From: Tiantian Gao, 2014-09-23
-
[Bug 1177831] Re: build_job with parameters fails since POST is not used.
From: Terry Howe, 2014-09-22
-
[Bug 1177831] Re: build_job with parameters fails since POST is not used.
From: Khai Do, 2014-09-22
-
[Bug 1177831] Re: build_job with parameters fails since POST is not used.
From: OpenStack Infra, 2014-09-18
-
[Bug 1177831] Re: build_job with parameters fails since POST is not used.
From: Terry Howe, 2014-09-18
-
[Bug 1177831] Re: build_job with parameters fails since POST is not used.
From: josh bouganim, 2013-06-27
-
[Bug 1177831] Re: build_job with parameters fails since POST is not used.
From: Adam Gandelman, 2013-05-12
-
[Bug 1177831] [NEW] build_job with parameters fails since POST is not used.
From: Andrew Myers, 2013-05-08
References