summaryrefslogtreecommitdiff
path: root/etc
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:54:54 -0400
commit9be23c49029e66765df3ff4569998e28ad75d2ee (patch)
treeb295fbd2eff704373c1dc130bd552616c126256d /etc
parent14c224a6437ff476b8ff49b2e2bd2aa7758d2862 (diff)
downloadmongo-9be23c49029e66765df3ff4569998e28ad75d2ee.tar.gz
SERVER-36756 Log the githash of the 10gen/jstestfuzz repository when the fuzzer's self-tests fail
(cherry picked from commit 33e3be539cd460e64bf7fb00712e58ce2d8d8ecd)
Diffstat (limited to 'etc')
-rw-r--r--etc/evergreen.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index fe465d65626..aae3c943900 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -948,6 +948,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