summaryrefslogtreecommitdiff
path: root/source/build_complete.sh
diff options
context:
space:
mode:
authorWill Holland <william.holland@codethink.co.uk>2015-09-16 11:16:51 +0100
committerWill Holland <william.holland@codethink.co.uk>2015-09-16 11:16:51 +0100
commitceb25b8368681bddd9e273df205aede012bf7f77 (patch)
tree90468218be96b40096aba35932fae4a3a0fb3525 /source/build_complete.sh
parentd5bf8f1ed2661c00cf55ef071410c2d6b736b4dd (diff)
downloadorchestration-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/build_complete.sh')
-rw-r--r--source/build_complete.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/build_complete.sh b/source/build_complete.sh
index 058f86a..0944091 100644
--- a/source/build_complete.sh
+++ b/source/build_complete.sh
@@ -1,6 +1,10 @@
#!/bin/sh
# this will run once ybd has finished a build
set -e
+SYSTEM=$1
+BUILDSLAVE_SCRIPTS_SHA=$2
+DEFINITIONS_SHA=$3
+TESTING_SHA=$4
category=postbuild
@@ -9,4 +13,4 @@ port=9999
user=orchestration
passwd=orchestration
-../orchenv-master/bin/buildbot sendchange -m "$IP":"$port" -a "$user":"$passwd" -W scriptbot -C "$category" -p "system":"$1"
+../orchenv-master/bin/buildbot sendchange -m "$IP":"$port" -a "$user":"$passwd" -W scriptbot -C "$category" -p "system":"$SYSTEM" -p "buildslave_scripts_sha":"$BUILDSLAVE_SCRIPTS_SHA" -p "definitions_sha":"$DEFINITIONS_SHA