diff options
author | Will Holland <william.holland@codethink.co.uk> | 2015-09-16 11:16:51 +0100 |
---|---|---|
committer | Will Holland <william.holland@codethink.co.uk> | 2015-09-16 11:16:51 +0100 |
commit | ceb25b8368681bddd9e273df205aede012bf7f77 (patch) | |
tree | 90468218be96b40096aba35932fae4a3a0fb3525 /source/master.cfg | |
parent | d5bf8f1ed2661c00cf55ef071410c2d6b736b4dd (diff) | |
download | orchestration-ceb25b8368681bddd9e273df205aede012bf7f77.tar.gz |
Pass SHAs of state when build starts forwards
The SHAs of definitions, buildslave-scripts and ciat-testing are passed along
the pipeline for consistency
Diffstat (limited to 'source/master.cfg')
-rw-r--r-- | source/master.cfg | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/source/master.cfg b/source/master.cfg index ff2fa61..99f2180 100644 --- a/source/master.cfg +++ b/source/master.cfg @@ -107,8 +107,16 @@ deploy_factory.addStep(steps.Git( mode='incremental')) deploy_factory.addStep(ShellCommand(command=["sh","get_definitions.sh"])) system = util.Property('system',default="no system given") +buildslave_scripts_sha = util.Property('buildslave_scripts_sha',default="no buildslave-scripts sha given") +definitions_sha = util.Property('definitions_sha',default="no definitions sha given") +testing_sha = util.Property('testing_sha',default="no testing sha given") buildnumber = util.Property('buildnumber',default=0) -deploy_cmd = ["sh","triggers/deploy_trigger.sh",system,buildnumber] +deploy_cmd = ["sh","triggers/deploy_trigger.sh", + system, + buildnumber, + buildslave_scripts_sha, + definitions_sha, + testing_sha] deploy_factory.addStep(ShellCommand(command=deploy_cmd)) testing_factory = BuildFactory() @@ -116,7 +124,8 @@ testing_factory.addStep(steps.Git( repourl='git://cu010-trove.codethink.com/cu010-trove/br6/buildslave-scripts.git', mode='incremental')) artefact = util.Property('artefact',default=0) -testing_cmd = ["sh","triggers/testing_trigger.sh",artefact] +testing_sha = util.Property('testing_sha',default="no testing sha given") +testing_cmd = ["sh","triggers/testing_trigger.sh",artefact,testing_sha] testing_factory.addStep(ShellCommand(command=testing_cmd)) from buildbot.config import BuilderConfig |