summaryrefslogtreecommitdiff
path: root/simplejenkinsapi
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2012-09-21 23:57:00 +0100
committerLars Wirzenius <liw@liw.fi>2012-09-21 23:57:00 +0100
commit7839cc0e24bcacf44a0090da05a81cf01f9ba108 (patch)
tree70071299cd59b2ac6b4b6ea32ac13edf8cb862d4 /simplejenkinsapi
parent7d538161103a7f40bf5a2012625dd1d5de9fbcc1 (diff)
downloadjenkinstool-7839cc0e24bcacf44a0090da05a81cf01f9ba108.tar.gz
Remove Jenkins build triggers
Diffstat (limited to 'simplejenkinsapi')
-rw-r--r--simplejenkinsapi/jobconfig.py9
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()