From ceb25b8368681bddd9e273df205aede012bf7f77 Mon Sep 17 00:00:00 2001 From: Will Holland Date: Wed, 16 Sep 2015 11:16:51 +0100 Subject: Pass SHAs of state when build starts forwards The SHAs of definitions, buildslave-scripts and ciat-testing are passed along the pipeline for consistency --- source/build_complete.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source/build_complete.sh') 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 -- cgit v1.2.1