From 15837cce01af4e2ad0da3a003099167adacb5c5f Mon Sep 17 00:00:00 2001 From: Vishal Bhoj Date: Mon, 28 Sep 2015 13:48:23 +0530 Subject: add linaro-cp for publishing artifact Signed-off-by: Vishal Bhoj --- setup-android.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'setup-android.sh') 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) -- cgit v1.2.3