aboutsummaryrefslogtreecommitdiff
path: root/lkft-hikey-aosp-4.9.yaml
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2017-05-03 12:31:31 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2017-05-03 10:09:11 +0000
commitddd1ee51620bda76d937912a314e29bb215a98e7 (patch)
treed06070285edcc97a90b9ee3dfac8fe33fc8ebfc8 /lkft-hikey-aosp-4.9.yaml
parent54ba1965f7b27ad890eecacbb9a42a50e85acc13 (diff)
lkft-hikey-aosp: enable boot testing
Change-Id: I3af24d99639d37fd3869bd50830dddc2a6eb72eb Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Diffstat (limited to 'lkft-hikey-aosp-4.9.yaml')
-rw-r--r--lkft-hikey-aosp-4.9.yaml24
1 files changed, 23 insertions, 1 deletions
diff --git a/lkft-hikey-aosp-4.9.yaml b/lkft-hikey-aosp-4.9.yaml
index b6a4880b04..0746902ff9 100644
--- a/lkft-hikey-aosp-4.9.yaml
+++ b/lkft-hikey-aosp-4.9.yaml
@@ -15,7 +15,7 @@
- job-cancel
parameters:
- string:
- name: REFERENCE_AOSP_BUILD
+ name: REFERENCE_BUILD_URL
default: 'http://builds.96boards.org/snapshots/hikey/linaro/aosp-master/378/'
- string:
name: KERNEL_BRANCH
@@ -57,6 +57,28 @@
--build-info out/BUILD-INFO.txt \
--link-latest \
out/ android/lkft/${JOB_NAME}/${BUILD_NUMBER}
+
+ PUB_DEST=android/lkft/${JOB_NAME}/${BUILD_NUMBER}
+
+ # Construct post-build-lava parameters
+ cat << EOF > ${WORKSPACE}/post_build_lava_parameters
+ DEVICE_TYPE=hi6220-hikey
+ TARGET_PRODUCT=hikey
+ MAKE_TARGETS=droidcore
+ JOB_NAME=${JOB_NAME}
+ REFERENCE_BUILD_URL=${REFERENCE_BUILD_URL}
+ BUILD_NUMBER=${BUILD_NUMBER}
+ BUILD_URL=${BUILD_URL}
+ LAVA_SERVER=lkft.validation.linaro.org/RPC2/
+ FRONTEND_JOB_NAME=${JOB_NAME}
+ DOWNLOAD_URL=https://snapshots.linaro.org/${PUB_DEST}
+ REFERENCE_BUILD_URL=${REFERENCE_BUILD_URL}
+ CUSTOM_JSON_URL=https://git.linaro.org/ci/job/configs.git/blob_plain/HEAD:/lkft/lava-job-definitions/hikey-aosp/template-boot.yaml
+ EOF
+ - trigger-builds:
+ - project: 'post-build-lava'
+ property-file: post_build_lava_parameters
+ block: true
publishers:
- logparser:
parse-rules: '/var/lib/jenkins/userContent/android.parse'