summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Abrahams <jonathan@mongodb.com>2018-09-06 16:26:07 -0400
committerJonathan Abrahams <jonathan@mongodb.com>2018-09-12 09:20:12 -0400
commit33e3be539cd460e64bf7fb00712e58ce2d8d8ecd (patch)
tree85ec78fa33a104a0e9c1a6f6b2144a55d67215a8
parent4592bf741ed8a7492e31a1e0a8ad997fcd0a2704 (diff)
downloadmongo-33e3be539cd460e64bf7fb00712e58ce2d8d8ecd.tar.gz
SERVER-36756 Log the githash of the 10gen/jstestfuzz repository when the fuzzer's self-tests fail
-rw-r--r--etc/evergreen.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index b9e43423880..47779454e3b 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -1745,6 +1745,10 @@ functions:
set +o errexit
npm test > npm_test-${task_id}.log 2>&1
if [ $? -ne 0 ]; then
+ echo "jstestfuzz self-tests failure"
+ branch=$(git symbolic-ref --short HEAD)
+ commit=$(git show -s --pretty=format:"%h - %an, %ar: %s")
+ echo "Git branch: $branch, commit: $commit"
which node
node --version
which npm