summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Abrahams <jonathan@mongodb.com>2016-08-10 00:15:57 -0400
committerJonathan Abrahams <jonathan@mongodb.com>2016-08-10 00:15:57 -0400
commit043b3b87e29d7891e3e8893aca13854fcd7fc5d6 (patch)
treec0223ea377a24d0f9caf6577d4dfc3579f50987c
parent92ee341f57636f644799d9ee44a1d2967c6a6fb4 (diff)
downloadmongo-043b3b87e29d7891e3e8893aca13854fcd7fc5d6.tar.gz
SERVER-25513 Jepsen display repo commit/version
-rw-r--r--etc/evergreen.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index 1c74905f743..b897af0bc6f 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -406,6 +406,9 @@ functions:
git clone git@github.com:10gen/jepsen.git
cd jepsen/jepsen
git checkout mongodb-master
+ branch=$(git symbolic-ref --short HEAD)
+ commit=$(git show -s --pretty=format:"%h - %an, %ar: %s")
+ echo "Git branch: $branch, commit: $commit"
lein install
- command: shell.exec
params: