projects
/
tools
/
python-jenkinsapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e763494
)
Fixed update_config not passing config to Jenkins
author
Aleksey Maksimov
<ctpeko3a@gmail.com>
Thu, 20 Jun 2013 06:43:32 +0000
(14:43 +0800)
committer
Aleksey Maksimov
<ctpeko3a@gmail.com>
Thu, 20 Jun 2013 06:43:32 +0000
(14:43 +0800)
jenkinsapi/job.py
patch
|
blob
|
history
diff --git
a/jenkinsapi/job.py
b/jenkinsapi/job.py
index 99058750aee75a58bf848464cf058694561435e7..02d294364be8ae4ed902ea495d2af3b26dff867a 100644
(file)
--- a/
jenkinsapi/job.py
+++ b/
jenkinsapi/job.py
@@
-371,7
+371,7
@@
class Job(JenkinsBase, MutableJenkinsThing):
Also refresh the ElementTree object since the config has changed
"""
url = self.get_config_xml_url()
- response = self.jenkins.requester.post_url(url, params={}, data=
''
)
+ response = self.jenkins.requester.post_url(url, params={}, data=
config
)
self._element_tree = ET.fromstring(config)
return response.text