X Tutup
Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion scripts/ci/after-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
set -e -o pipefail

echo '*******************'
echo '** AFTER_SUCCESS **'
echo '** AFTER_SCRIPT **'
echo '*******************'

if [ "$MODE" = "saucelabs" ]; then
./scripts/sauce/sauce_connect_teardown.sh
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it worth introducing a new file for this? why not put the killall command here?

fi


echo '---------------------'
echo '-- WAIT FOR OTHERS --'
Expand Down
7 changes: 7 additions & 0 deletions scripts/sauce/sauce_connect_teardown.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

set -e -o pipefail


echo "Shutting down Sauce Connect tunnel"
killall sc
X Tutup