- job: | |
name: openembedded-lkft-android-common-4.4-o | |
project-type: matrix | |
defaults: global | |
properties: | |
- authorization: | |
anonymous: | |
- job-read | |
- job-extended-read | |
- job-workspace | |
everyone-flat: | |
- job-read | |
- job-extended-read | |
- job-build | |
- job-cancel | |
- build-discarder: | |
days-to-keep: 30 | |
num-to-keep: 30 | |
artifact-num-to-keep: 1 | |
parameters: | |
- string: | |
name: KERNEL_BRANCH | |
default: 'android-4.4-o' | |
- string: | |
name: KERNEL_VERSION | |
default: '4.4' | |
- string: | |
name: KERNEL_RECIPE | |
default: 'linux-generic-android-common-o' | |
- string: | |
name: KERNEL_REPO | |
default: 'https://android.googlesource.com/kernel/common' | |
- string: | |
name: KERNEL_DESCRIBE | |
- string: | |
name: SRCREV_kernel | |
- string: | |
name: IMAGES | |
default: 'rpb-console-image' | |
- string: | |
name: MANIFEST_BRANCH | |
default: 'morty' | |
- string: | |
name: PUB_DEST | |
default: 'openembedded/lkft/${MANIFEST_BRANCH}/${MACHINE}/${DISTRO}/${KERNEL_BRANCH}/${BUILD_NUMBER}' | |
- string: | |
name: LAVA_SERVER | |
default: 'https://lkft.validation.linaro.org/RPC2/' | |
- string: | |
name: QA_SERVER | |
default: 'https://qa-reports.linaro.org' | |
- string: | |
name: QA_SERVER_PROJECT | |
default: 'android-common-4.4-o-oe' | |
- string: | |
name: SKIP_LAVA | |
default: '' | |
disabled: false | |
node: master | |
display-name: 'LKFT - Android Common 4.4 O (OpenEmbedded/morty)' | |
axes: | |
- axis: | |
type: user-defined | |
name: MACHINE | |
values: | |
- 'intel-core2-32' | |
- axis: | |
type: user-defined | |
name: DISTRO | |
values: | |
- rpb | |
- axis: | |
type: slave | |
name: label | |
values: | |
- docker-stretch-amd64 | |
execution-strategy: | |
sequential: false | |
wrappers: | |
- timeout: | |
timeout: 180 | |
- timestamps | |
- ssh-agent-credentials: | |
users: | |
- 'OE_COMMIT_BOT_KEY' | |
- credentials-binding: | |
- text: | |
credential-id: QA_REPORTS_TOKEN | |
variable: QA_REPORTS_TOKEN | |
builders: | |
- shell: | | |
#!/bin/bash | |
# Mapping for MACHINE -> DEVICE_TYPE | |
case "${MACHINE}" in | |
intel-core2-32) | |
DEVICE_TYPE=x86 | |
;; | |
esac | |
echo "DEVICE_TYPE=${DEVICE_TYPE}" > device_type_parameters | |
echo "#${BUILD_NUMBER}-${SRCREV_kernel:0:8}" > ${WORKSPACE}/version.txt | |
- build-name-setter: | |
name: 'version.txt' | |
file: true | |
- inject: | |
properties-file: device_type_parameters | |
- shell: | |
!include-raw: openembedded-lkft/builders.sh | |
- inject: | |
properties-file: post_build_lava_parameters | |
- linaro-publish-token | |
- shell: | |
!include-raw: openembedded-lkft/publishers.sh | |
- shell: | |
!include-raw: openembedded-lkft/submit_for_testing.sh | |
publishers: | |
- groovy-postbuild: | |
script: | |
!include-raw: | |
- rpb-openembedded/postbuild.groovy | |
- openembedded-lkft/postbuild.groovy | |
- email-ext: | |
recipients: 'lkft-maintainers@lists.linaro.org' | |
matrix-trigger: only-configurations | |
subject: '[CI] ${MACHINE}: ${KERNEL_BRANCH} {{SRCREV_kernel}} ${BUILD_STATUS}' | |
body: | | |
Build URL: ${PROJECT_URL}${BUILD_NUMBER}/ | |
Full log: ${PROJECT_URL}${BUILD_NUMBER}/consoleText | |
Parsed warnings/errors: ${PROJECT_URL}${BUILD_NUMBER}/parsed_console | |
Git branch: ${KERNEL_BRANCH} | |
Git URL: ${KERNEL_REPO} | |
Git commit: ${SRCREV_kernel} | |
Errors: | |
${BUILD_LOG_REGEX, regex="^ERROR:.* ", linesBefore=0, linesAfter=0, showTruncatedLines=false} | |
presend-script: | |
!include-raw: openembedded-lkft/presend-script.groovy |