Skip to content

Commit

Permalink
Merge pull request #465 from DenverM80/docker_print_git_hash_3_2_14
Browse files Browse the repository at this point in the history
Print the git HEAD rev hash before running tests
  • Loading branch information
GraciesPadre authored Apr 3, 2017
2 parents 3d24509 + 5ec5075 commit 8589502
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docker/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8589502

Please sign in to comment.