From: Aleksey Maksimov Date: Thu, 20 Jun 2013 06:43:32 +0000 (+0800) Subject: Fixed update_config not passing config to Jenkins X-Git-Tag: v0.2.23~131 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=90c392e20b8daa9fa840ac5e6db5f4003eec6972;p=tools%2Fpython-jenkinsapi.git Fixed update_config not passing config to Jenkins --- diff --git a/jenkinsapi/job.py b/jenkinsapi/job.py index 9905875..02d2943 100644 --- 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