aboutsummaryrefslogtreecommitdiff
path: root/linaro-art-tip-build-ARTTargetTest.yaml
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2016-07-20 16:28:19 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2016-08-02 00:02:54 +0530
commit0d276c4a068cff6c917f79f9527196b29ecf01fb (patch)
tree7c4478b5db38db47987e10aca2e3e6d13a4f7baa /linaro-art-tip-build-ARTTargetTest.yaml
parent53ab75954b4994c6e0170445e5a96bb8ecf9abba (diff)
linaro-art: move adb ssh connection setup to scripts
Change-Id: I0ea7db57960d5ea7cda3b2358874636396114a3d Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Diffstat (limited to 'linaro-art-tip-build-ARTTargetTest.yaml')
-rw-r--r--linaro-art-tip-build-ARTTargetTest.yaml15
1 files changed, 8 insertions, 7 deletions
diff --git a/linaro-art-tip-build-ARTTargetTest.yaml b/linaro-art-tip-build-ARTTargetTest.yaml
index 43ddfdbe..41976154 100644
--- a/linaro-art-tip-build-ARTTargetTest.yaml
+++ b/linaro-art-tip-build-ARTTargetTest.yaml
@@ -26,6 +26,12 @@
num-to-keep: 60
parameters:
- string:
+ name: ANDROID_ADB_SERVER_PORT
+ default: '5038'
+ - string:
+ name: ADB_VERSION
+ default: 'adb-tip'
+ - string:
name: BUILD_CONFIG_REPO
default: 'git://android.git.linaro.org/android-build-configs.git'
- string:
@@ -92,16 +98,11 @@
wget https://git.linaro.org/people/daniel.diaz/ci/misc-utils.git/blob_plain/HEAD:/add-private-key.sh
source add-private-key.sh
+ cd ${ART_BUILD_SCRIPTS_DIR}/jenkins
# Port forwarding magic to have access to Nexus devices
source /home/buildslave/srv/nexus-config
export ANDROID_SERIAL=${BULLHEAD}
- export ANDROID_ADB_SERVER_PORT=${ANDROID_ADB_SERVER_PORT_TIP}
- sudo ssh-keyscan -p ${REMOTE_PORT} 81.128.185.43 > ~/.ssh/known_hosts
- ssh nexus-machine killall adb-stable adb-tip ||:
- ssh nexus-machine ./adb-tip -P ${ANDROID_ADB_SERVER_PORT} start-server
- ssh -L ${ANDROID_ADB_SERVER_PORT}:127.0.0.1:${ANDROID_ADB_SERVER_PORT} nexus-machine -f -N
-
- cd ${ART_BUILD_SCRIPTS_DIR}/jenkins
+ ./setup_adb.sh
./setup_host.sh
./setup_android.sh