summaryrefslogtreecommitdiff
path: root/setup-android.sh
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2015-09-28 13:48:23 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2015-09-28 13:48:23 +0530
commit15837cce01af4e2ad0da3a003099167adacb5c5f (patch)
tree148901e85804eb10ed70c816249301770cb58893 /setup-android.sh
parent91ba56ad767c0e65272561cecf299310e6d861ca (diff)
add linaro-cp for publishing artifact
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Diffstat (limited to 'setup-android.sh')
-rwxr-xr-xsetup-android.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/setup-android.sh b/setup-android.sh
index da150ae..7f8d640 100755
--- a/setup-android.sh
+++ b/setup-android.sh
@@ -7,6 +7,12 @@ export LANG=C
git config --global user.email "android-build-bot@fake-email.com"
git config --global user.name "android-build-bot"
+mkdir -p ${HOME}/bin ${WORKSPACE}/build/out
+curl https://storage.googleapis.com/git-repo-downloads/repo > ${HOME}/bin/repo
+wget https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
+chmod a+x ${HOME}/bin/*
+export PATH=${HOME}/bin:${PATH}
+
export base_dir="${HOME}/srv/${JOB_NAME}"
export cpu_count=$(getconf _NPROCESSORS_ONLN)
export jcpu_count=$(expr ${cpu_count} '*' 2)