Author: David Schneider <[email protected]>
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=''):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit