From e32d699cbb09ef4745c02419360188771f4fc10a Mon Sep 17 00:00:00 2001 From: Peter Kanev Date: Mon, 26 Feb 2018 11:52:46 +0200 Subject: [PATCH] chore(ci): update build script --- build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.sh b/build.sh index 0ec18bb4d..57c00fe4e 100755 --- a/build.sh +++ b/build.sh @@ -42,6 +42,10 @@ $ANDROID_HOME/platform-tools/adb -e logcat > consoleLog.txt & cd test-app ./gradlew runtest --rerun-tasks +echo $cwd + +cd $cwd + echo "Stopping running emulators" for KILLPID in `ps ax | grep 'emulator' | grep -v 'grep' | awk ' { print $1;}'`; do kill -9 $KILLPID; done || true for KILLPID in `ps ax | grep 'qemu' | grep -v 'grep' | awk ' { print $1;}'`; do kill -9 $KILLPID; done || true