Skip to content

Commit 8589502

Browse files
authored
Merge pull request #465 from DenverM80/docker_print_git_hash_3_2_14
Print the git HEAD rev hash before running tests
2 parents 3d24509 + 5ec5075 commit 8589502

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docker/run_tests.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,18 @@ echo DS3_ENDPOINT ${DS3_ENDPOINT}
66
echo DS3_SECRET_KEY ${DS3_SECRET_KEY}
77
echo DS3_ACCESS_KEY ${DS3_ACCESS_KEY}
88

9-
echo "cd /opt"
9+
set -x
10+
1011
cd /opt
1112

1213
if [ ${GIT_BRANCH} != "master" ]; then
13-
echo git clone ${GIT_REPO} --branch ${GIT_BRANCH} --single-branch
1414
git clone ${GIT_REPO} --branch ${GIT_BRANCH} --single-branch
1515
else
16-
echo git clone ${GIT_REPO}
1716
git clone ${GIT_REPO}
1817
fi
1918

20-
echo "cd ds3_java_sdk"
2119
cd ds3_java_sdk
20+
git rev-parse HEAD
2221

2322
./gradlew test
2423

0 commit comments

Comments
 (0)