diff options
Diffstat (limited to 'simplejenkinsapi')
-rw-r--r-- | simplejenkinsapi/jobconfig.py | 9 |
1 files changed, 0 insertions, 9 deletions
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() |