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:53:48 -0400
commitb1721c7053a103a033b79a202630b320d418fcc1 (patch)
tree43e40d67fc01c7e9c746ccee3e408158318c1fa1
parent1f4edd26fcf3b28ba0adb6639353381cb437b8b2 (diff)
downloadmongo-b1721c7053a103a033b79a202630b320d418fcc1.tar.gz
SERVER-36756 Log the githash of the 10gen/jstestfuzz repository when the fuzzer's self-tests fail
(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 a64b6a13250..43435c23416 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -1703,6 +1703,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