From 5ec50754fc41d380b85d842c9496e46562801c26 Mon Sep 17 00:00:00 2001 From: DenverM80 Date: Mon, 3 Apr 2017 12:22:39 -0600 Subject: [PATCH] Print the git HEAD rev hash before running tests --- docker/run_tests.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docker/run_tests.sh b/docker/run_tests.sh index 434a3779a..a3d76af84 100755 --- a/docker/run_tests.sh +++ b/docker/run_tests.sh @@ -6,19 +6,18 @@ echo DS3_ENDPOINT ${DS3_ENDPOINT} echo DS3_SECRET_KEY ${DS3_SECRET_KEY} echo DS3_ACCESS_KEY ${DS3_ACCESS_KEY} -echo "cd /opt" +set -x + cd /opt if [ ${GIT_BRANCH} != "master" ]; then - echo git clone ${GIT_REPO} --branch ${GIT_BRANCH} --single-branch git clone ${GIT_REPO} --branch ${GIT_BRANCH} --single-branch else - echo git clone ${GIT_REPO} git clone ${GIT_REPO} fi -echo "cd ds3_java_sdk" cd ds3_java_sdk +git rev-parse HEAD ./gradlew test