- job: name: lkft-hikey-aosp-4.4 project-type: freestyle defaults: global logrotate: daysToKeep: 60 numToKeep: 60 properties: - authorization: anonymous: - job-read - job-extended-read linaro: - job-build - job-cancel parameters: - string: name: REFERENCE_BUILD_URL default: 'http://builds.96boards.org/snapshots/hikey/linaro/aosp-master/378/' - string: name: KERNEL_BRANCH default: 'android-hikey-linaro-4.4' disabled: false node: docker-xenial-aosp display-name: 'LKFT - AOSP 4.4 (Android)' scm: - git: url: https://android.googlesource.com/kernel/hikey-linaro refspec: +refs/heads/${KERNEL_BRANCH}:refs/remotes/origin/${KERNEL_BRANCH} name: origin branches: - origin/${KERNEL_BRANCH} skip-tag: true shallow-clone: true wipe-workspace: false wrappers: - timestamps - build-name: name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - timeout: timeout: 500 builders: - shell: !include-raw: - lkft/hikey-aosp/builders.sh - linaro-publish-token - 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} 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 REFERENCE_BUILD_URL=${REFERENCE_BUILD_URL} JOB_NAME=${JOB_NAME} 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} 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' unstable-on-warning: false fail-on-error: false - fingerprint: files: 'build/fingerprints/*' - email: recipients: 'vishal.bhoj@linaro.org fathi.boudra@linaro.org'