summaryrefslogtreecommitdiff
path: root/source/master.cfg
diff options
context:
space:
mode:
authorWill Holland <william.holland@codethink.co.uk>2015-09-08 16:08:29 +0100
committerWill Holland <william.holland@codethink.co.uk>2015-09-08 16:08:29 +0100
commit9929462cb62e02c4eea2f298cfa4dc051cba71de (patch)
tree956e588a23f6204ac1f5c3e4985fb73cba1ef432 /source/master.cfg
parent037085c49235c7f89c3a0b2a55091fbb5c5b556c (diff)
downloadorchestration-9929462cb62e02c4eea2f298cfa4dc051cba71de.tar.gz
Pass repo_name from bottle to firehose_trigger
Diffstat (limited to 'source/master.cfg')
-rw-r--r--source/master.cfg11
1 files changed, 7 insertions, 4 deletions
diff --git a/source/master.cfg b/source/master.cfg
index 9770840..f46a006 100644
--- a/source/master.cfg
+++ b/source/master.cfg
@@ -76,17 +76,20 @@ c['schedulers'].append(SingleBranchScheduler(
from buildbot.process.factory import BuildFactory
from buildbot.steps.shell import ShellCommand
+from buildbot.plugins import steps, util
+from buildbot.plugins import util
builders_factory = BuildFactory()
-# run the tests (note that this will require that 'trial' is installed)
builders_factory.addStep(ShellCommand(command=["sh","../../../../source/builders_trigger.sh"]))
firehose_factory = BuildFactory()
-# run the tests (note that this will require that 'trial' is installed)
-firehose_factory.addStep(ShellCommand(command=["sh","../../../../source/firehose_trigger.sh"]))
+#firehose_factory.addStep(ShellCommand(command=["sh","../../../../source/firehose_trigger.sh"]))
+#firehose_factory.addStep(steps.ShellCommand(command=["sh","../../../../source/firehose_trigger.sh",util.Property('repo_name')]))
+repo_name = util.Property('repo_name',default="no repo name given")
+firehose_cmd = ["sh","../../../../source/firehose_trigger.sh",repo_name]
+firehose_factory.addStep(ShellCommand(command=firehose_cmd))
testing_factory = BuildFactory()
-# run the tests (note that this will require that 'trial' is installed)
testing_factory.addStep(ShellCommand(command=["sh","../../../../source/testing_trigger.sh"]))
from buildbot.config import BuilderConfig