summaryrefslogtreecommitdiff
path: root/evergreen/powercycle_save_artifacts.sh
blob: 615fab1c7fe656cd6bb3b55bfea727a9e3ae37d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
. "$DIR/prelude.sh"

cd src

set -o verbose

if [ ! -f powercycle_ip_address.yml ]; then
  exit 0
fi

activate_venv
$python buildscripts/resmoke.py powercycle save-diagnostics