summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Abrahams <jonathan@mongodb.com>2018-09-06 16:26:07 -0400
committerJonathan Abrahams <jonathan@mongodb.com>2018-10-23 09:56:46 -0400
commit4410706bef6463369ea2f42399e9843903b31923 (patch)
tree23ba6c0981d19c977898be25053d818946071219
parent00068b2445bbc91cad85b89290f16bc16e9d7335 (diff)
downloadmongo-r3.4.18-rc0.tar.gz
SERVER-36756 Log the githash of the 10gen/jstestfuzz repository when the fuzzer's self-tests failr3.4.18-rc0r3.4.18
(cherry picked from commit 33e3be539cd460e64bf7fb00712e58ce2d8d8ecd)
-rw-r--r--etc/evergreen.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index 5dcd90ed97c..b558f478e62 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -792,6 +792,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