aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Duraj <julien.duraj@linaro.org>2016-10-05 09:01:11 +0000
committerLinaro Android Code Review <android-review@review.linaro.org>2016-10-05 09:01:11 +0000
commit1d6b5c5a6a63f8376f51661b30e4e294a9ed2d29 (patch)
tree047f2df6fe7966f4e9bf37ec245bb7d1494639ed
parent8f2044ca982d9c4028cc8b2da031975910a9e660 (diff)
parent09c76f0e8af1310a70301751b16206dc078f931b (diff)
downloadart-build-scripts-lor_marshmallow.tar.gz
Merge "setup_adb: set default adb port to 5037"lor_marshmallow
-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.