diff options
author | Will Holland <william.holland@codethink.co.uk> | 2015-09-16 16:17:02 +0100 |
---|---|---|
committer | Will Holland <william.holland@codethink.co.uk> | 2015-09-16 16:17:02 +0100 |
commit | 55936be3cc282b08bdb0265d10d89fc8e6720e44 (patch) | |
tree | 142a80999e6e26303c8f934e0dc6d02dfc8f29e9 | |
parent | 6bb9c827806d60e8d649220042f7c81c056ef90f (diff) | |
download | buildslave-scripts-55936be3cc282b08bdb0265d10d89fc8e6720e44.tar.gz |
Don't try and checkout if no sha
-rw-r--r-- | triggers/testing_trigger.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/triggers/testing_trigger.sh b/triggers/testing_trigger.sh index c56715c..ba4fa52 100644 --- a/triggers/testing_trigger.sh +++ b/triggers/testing_trigger.sh @@ -22,5 +22,7 @@ if [ -d ciat-tester ]; then fi git clone ssh://git@cu010-trove.codethink.com/cu010-trove/br6/ciat-tester cd ciat-tester -git checkout $TESTING_SHA +if [ "$TESTING_SHA" -ne "no_testing_sha_given" ]; then + git checkout $TESTING_SHA +fi ./test-runner.sh file:///archive/"$ARTEFACT".raw openstack tests/python.test tests/uname.test tests/systemd.test |