diff options
author | Will Holland <william.holland@codethink.co.uk> | 2015-09-15 13:56:06 +0100 |
---|---|---|
committer | Will Holland <william.holland@codethink.co.uk> | 2015-09-15 13:56:06 +0100 |
commit | bf0f4b517f9355043d9d77bc726e4f60e460733a (patch) | |
tree | e46d6a24ce0a7dc6d3711222b16db72b5fb7b9af /source/master.cfg | |
parent | 2d0ba177c415bd0ef49b0e91e6adcf1212930205 (diff) | |
download | orchestration-bf0f4b517f9355043d9d77bc726e4f60e460733a.tar.gz |
Pass buildnumber to deploy
Diffstat (limited to 'source/master.cfg')
-rw-r--r-- | source/master.cfg | 5 |
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( |