aboutsummaryrefslogtreecommitdiff
path: root/lkft-hikey-aosp-4.9.yaml
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2017-04-07 12:17:15 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2017-04-07 09:24:49 +0000
commit4651b392a2ff33235028246eb5f53bbc2e27e1ac (patch)
tree524346c5bb9f8cacac5373cc8e8dde7a24306783 /lkft-hikey-aosp-4.9.yaml
parenta85ff5f8459fdb2bab44297a4d2dc6eef4ba71e7 (diff)
lkft-hikey-aosp-4.9: use plain job publishing
This job is more like a regular build than an android build. We don't need the android publishing wrapper. Switch to us plain job publishing, It fixes the publishing issue that we currently observe. Change-Id: I924ed0276f71b4ce7e4c5f6f2861ea4538fce205 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'lkft-hikey-aosp-4.9.yaml')
-rw-r--r--lkft-hikey-aosp-4.9.yaml18
1 files changed, 13 insertions, 5 deletions
diff --git a/lkft-hikey-aosp-4.9.yaml b/lkft-hikey-aosp-4.9.yaml
index 6ef4efd0fd..e900777be8 100644
--- a/lkft-hikey-aosp-4.9.yaml
+++ b/lkft-hikey-aosp-4.9.yaml
@@ -43,12 +43,20 @@
- shell:
!include-raw:
- lkft/hikey-aosp/builders.sh
- - inject:
- properties-file: publish_parameters
- linaro-publish-token
- - shell:
- !include-raw:
- - android/linaro-publisher.sh
+ - shell: |
+ #!/bin/bash
+
+ wget -q https://git.linaro.org/ci/job/configs.git/blob_plain/HEAD:/android-lcr/hikey/build-info/aosp-master-template.txt -O out/BUILD-INFO.txt
+
+ # Publish
+ test -d ${HOME}/bin || mkdir ${HOME}/bin
+ wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
+ time python ${HOME}/bin/linaro-cp.py \
+ --server ${PUBLISH_SERVER} \
+ --build-info out/BUILD-INFO.txt \
+ --link-latest \
+ out/ android/lkft/${JOB_NAME}/${BUILD_NUMBER}
publishers:
- logparser:
parse-rules: '/var/lib/jenkins/userContent/android.parse'