summaryrefslogtreecommitdiff
path: root/triggers/firehose_trigger.sh
diff options
context:
space:
mode:
authorWill Holland <william.holland@codethink.co.uk>2015-09-18 10:11:38 +0100
committerWill Holland <william.holland@codethink.co.uk>2015-09-18 10:11:38 +0100
commit038c3b3c2ad128f74b0d8cc4dbb06d7c767143b7 (patch)
tree8d3bf5783faad1b8ec3577d25e33234131f48c81 /triggers/firehose_trigger.sh
parentae721b20eb7a9999ca2f7d462d94de13ba03882a (diff)
downloadbuildslave-scripts-038c3b3c2ad128f74b0d8cc4dbb06d7c767143b7.tar.gz
Make variables in triggers have names
Because these show in the web front end and make debugging easier
Diffstat (limited to 'triggers/firehose_trigger.sh')
-rw-r--r--triggers/firehose_trigger.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/triggers/firehose_trigger.sh b/triggers/firehose_trigger.sh
index 5516314..133d040 100644
--- a/triggers/firehose_trigger.sh
+++ b/triggers/firehose_trigger.sh
@@ -1,4 +1,5 @@
set -ex
+REPO=$1
echo "[$(date "+%F %R")] Firehose triggered with repo: $1" >> ../../../../trigger_log
if [ -d src/firehose ]; then
rm -rf src/firehose