summaryrefslogtreecommitdiff
path: root/source/master.cfg
diff options
context:
space:
mode:
authorWill Holland <william.holland@codethink.co.uk>2015-09-15 13:56:06 +0100
committerWill Holland <william.holland@codethink.co.uk>2015-09-15 13:56:06 +0100
commitbf0f4b517f9355043d9d77bc726e4f60e460733a (patch)
treee46d6a24ce0a7dc6d3711222b16db72b5fb7b9af /source/master.cfg
parent2d0ba177c415bd0ef49b0e91e6adcf1212930205 (diff)
downloadorchestration-bf0f4b517f9355043d9d77bc726e4f60e460733a.tar.gz
Pass buildnumber to deploy
Diffstat (limited to 'source/master.cfg')
-rw-r--r--source/master.cfg5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/master.cfg b/source/master.cfg
index 5ad4e4a..3e6a8ec 100644
--- a/source/master.cfg
+++ b/source/master.cfg
@@ -105,8 +105,9 @@ deploy_factory.addStep(steps.Git(
mode='incremental'))
deploy_factory.addStep(ShellCommand(command=["sh","get_definitions.sh"]))
system = util.Property('system',default="no system given")
-firehose_cmd = ["sh","triggers/deploy_trigger.sh",system]
-deploy_factory.addStep(ShellCommand(command=firehose_cmd))
+buildnumber = util.Property('buildnumber',default=0)
+deploy_cmd = ["sh","triggers/deploy_trigger.sh",system,buildnumber]
+deploy_factory.addStep(ShellCommand(command=deploy_cmd))
testing_factory = BuildFactory()
testing_factory.addStep(steps.Git(