aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xjenkins/setup_adb.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/jenkins/setup_adb.sh b/jenkins/setup_adb.sh
index 0dafc731..b3ff2877 100755
--- a/jenkins/setup_adb.sh
+++ b/jenkins/setup_adb.sh
@@ -16,6 +16,9 @@
set -u
+# shellcheck disable=SC2086
+: ${ANDROID_ADB_SERVER_PORT:=5037}
+
ssh-keyscan -p "${REMOTE_PORT}" "${SERVER_IPADDRESS}" > ~/.ssh/known_hosts
# Kill all adb servers on lab machine or else nexus devices won't be visible to new server.