Skip to content

Commit 0cc08d3

Browse files
authored
CSHARP-5783: Fix EG cleanup script (#1814)
1 parent 4236cf6 commit 0cc08d3

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

evergreen/evergreen.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -844,17 +844,11 @@ functions:
844844
fi
845845
- command: shell.exec
846846
params:
847+
working_dir: mongo-csharp-driver
848+
shell: "bash"
847849
script: |
848850
${PREPARE_SHELL}
849-
cd "$MONGO_ORCHESTRATION_HOME"
850-
# source the mongo-orchestration virtualenv if it exists
851-
if [ -f venv/bin/activate ]; then
852-
. venv/bin/activate
853-
elif [ -f venv/Scripts/activate ]; then
854-
. venv/Scripts/activate
855-
fi
856-
mongo-orchestration stop
857-
cd -
851+
bash ${DRIVERS_TOOLS}/.evergreen/stop-orchestration.sh
858852
rm -rf $DRIVERS_TOOLS || true
859853
- command: subprocess.exec
860854
params:

0 commit comments

Comments
 (0)