From 90c392e20b8daa9fa840ac5e6db5f4003eec6972 Mon Sep 17 00:00:00 2001 From: Aleksey Maksimov Date: Thu, 20 Jun 2013 14:43:32 +0800 Subject: [PATCH] Fixed update_config not passing config to Jenkins --- jenkinsapi/job.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1