[pypy-commit] buildbot default: add a trigger parameter to nightly build factory. If provided, the corresponding scheduler is triggered after the build
bivab
noreply at buildbot.pypy.org
Mon Sep 10 13:47:52 CEST 2012
Author: David Schneider <david.schneider at picle.org>
Branch:
Changeset: r693:06c1a3edbe47
Date: 2012-09-08 18:45 +0200
http://bitbucket.org/pypy/buildbot/changeset/06c1a3edbe47/
Log: add a trigger parameter to nightly build factory. If provided, the
corresponding scheduler is triggered after the build
diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py
--- a/bot2/pypybuildbot/builds.py
+++ b/bot2/pypybuildbot/builds.py
@@ -458,7 +458,8 @@
def __init__(self, platform='linux',
translationArgs=['-O2'], targetArgs=[],
interpreter='pypy',
- prefix=[]
+ prefix=[],
+ trigger=None,
):
factory.BuildFactory.__init__(self)
@@ -494,6 +495,8 @@
basename=name + extension,
workdir='.',
blocksize=100 * 1024))
+ if trigger: # if provided trigger schedulers that are depend on this one
+ self.addStep(Trigger(schedulerNames=[trigger]))
class JITBenchmark(factory.BuildFactory):
def __init__(self, platform='linux', host='tannit', postfix=''):
More information about the pypy-commit
mailing list