mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-24 00:17:37 +01:00
15 lines
370 B
Bash
Executable File
15 lines
370 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# https://docs.engflow.com/web_ui/index.html#workspace-status
|
|
echo BUILD_SCM_BRANCH $(git rev-parse --abbrev-ref HEAD)
|
|
echo BUILD_SCM_REVISION $(git rev-parse --verify HEAD)
|
|
|
|
git diff-index --quiet HEAD --
|
|
if [[ $? == 0 ]]; then
|
|
status="clean"
|
|
else
|
|
status="modified"
|
|
fi
|
|
echo BUILD_SCM_STATUS $status
|
|
echo BUILD_SCM_REMOTE git@github.com:10gen/mongo.git
|