From 7839cc0e24bcacf44a0090da05a81cf01f9ba108 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 21 Sep 2012 23:57:00 +0100 Subject: Remove Jenkins build triggers --- simplejenkinsapi/jobconfig.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'simplejenkinsapi') diff --git a/simplejenkinsapi/jobconfig.py b/simplejenkinsapi/jobconfig.py index 7aab101..286269d 100644 --- a/simplejenkinsapi/jobconfig.py +++ b/simplejenkinsapi/jobconfig.py @@ -109,15 +109,6 @@ cd "%(host.directory)s" suffix = '\nEND' self.add_shell_command(prefix + shell_text + suffix) - def add_build_trigger(self, job_id): - publishers = self._project.find('publishers') - trigger = ET.SubElement(publishers, 'hudson.tasks.BuildTrigger') - ET.SubElement(trigger, 'childProjects').text = job_id - threshold = ET.SubElement(trigger, 'threshold') - ET.SubElement(threshold, 'name').text = 'SUCCESS' - ET.SubElement(threshold, 'ordinal').text = '0' - ET.SubElement(threshold, 'color').text = 'BLUE' - def set_bzr(self, url): scm = self._project.find('scm') scm.clear() -- cgit v1.2.1