aboutsummaryrefslogtreecommitdiff
path: root/lkft-member-build.yaml
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2021-01-06 20:05:09 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2021-01-07 11:30:30 +0800
commitcb2004cc2184f77ca42f591f1442a23ff6cdc187 (patch)
tree98d3261122d45be0aea2a0e8d3ce9ee1106ce93d /lkft-member-build.yaml
parentd5b58ef0d46a0899934b127ef301601a37da9b57 (diff)
lkft: add support for build non public lkft jobs
Change-Id: I5b09e90c9783812f47825fa2febae0a6d1938780 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Diffstat (limited to 'lkft-member-build.yaml')
-rw-r--r--lkft-member-build.yaml108
1 files changed, 108 insertions, 0 deletions
diff --git a/lkft-member-build.yaml b/lkft-member-build.yaml
new file mode 100644
index 0000000000..00ad728a9f
--- /dev/null
+++ b/lkft-member-build.yaml
@@ -0,0 +1,108 @@
+- job:
+ name: lkft-member-build
+ project-type: freestyle
+ defaults: global
+ properties:
+ - authorization:
+ anonymous:
+ - job-discover
+ android-internal:
+ - job-read
+ - job-extended-read
+ - job-build
+ - job-cancel
+ - build-discarder:
+ days-to-keep: 180
+ num-to-keep: 450
+ artifact-num-to-keep: 1
+ parameters:
+ - string:
+ name: BUILD_DIR
+ default: lkft
+ - string:
+ name: ANDROID_BUILD_CONFIG
+ default: ''
+ - string:
+ name: KERNEL_DESCRIBE
+ - string:
+ name: KERNEL_BRANCH
+ - string:
+ name: SRCREV_kernel
+ - string:
+ name: BUILD_REFERENCE_IMAGE_GZ_URL
+ - string:
+ name: MAKE_KERNELVERSION
+ - string:
+ name: TEST_OTHER_PLANS_OVERRIDE
+ default: ""
+ disabled: false
+ node: docker-bionic-android-lkft
+ display-name: 'Generic CI Job for lkft builds'
+ wrappers:
+ - timestamps
+ - build-name:
+ name: '#${BUILD_NUMBER}-${KERNEL_DESCRIBE}-${KERNEL_BRANCH}-${ANDROID_BUILD_CONFIG}'
+ - timeout:
+ timeout: 500
+ - credentials-binding:
+ - text:
+ credential-id: QA_REPORTS_TOKEN
+ variable: QA_REPORTS_TOKEN
+ - text:
+ credential-id: ARTIFACTORIAL_TOKEN
+ variable: ARTIFACTORIAL_TOKEN
+ - text:
+ credential-id: AP_SSID_OEM
+ variable: AP_SSID
+ - text:
+ credential-id: AP_KEY
+ variable: AP_KEY
+ builders:
+ - shell:
+ !include-raw: lkft/common/builders-v2.sh
+ - linaro-publish-token
+ - shell:
+ !include-raw: lkft/common/publisher-for-member.sh
+ - shell:
+ !include-raw: lkft/lava-job-definitions/submit_for_testing-v2.sh
+ publishers:
+ - postbuildscript:
+ builders:
+ - role: SLAVE
+ build-on:
+ - FAILURE
+ build-steps:
+ - shell:
+ !include-raw: lkft/common/postbuildscript-v2.sh
+ - postbuildscript:
+ builders:
+ - role: SLAVE
+ build-on:
+ - FAILURE
+ build-steps:
+ - shell:
+ !include-raw: lkft/common/postbuildscript-v2.sh
+ - logparser:
+ parse-rules: '/var/jenkins_home/userContent/android.parse'
+ unstable-on-warning: false
+ fail-on-error: false
+ - fingerprint:
+ files: 'build/fingerprints/*'
+ - groovy-postbuild:
+ script:
+ !include-raw: openembedded-lkft/postbuild.groovy
+ - email:
+ recipients: 'lkft-maintainers@lists.linaro.org'
+ subject: '[CI] HiKey960 mainline gki + aosp master + QGSI: ${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