blob: eb9840911e60c4e0c484458d3939ab5d5687475c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
- job:
name: lkft-hikey-aosp-4.9-premerge-ci
project-type: freestyle
defaults: global
properties:
- authorization:
anonymous:
- job-read
- job-extended-read
linaro:
- job-build
- job-cancel
- build-discarder:
days-to-keep: 180
num-to-keep: 100
artifact-num-to-keep: 1
parameters:
- string:
name: BUILD_DIR
default: lkft
- string:
name: ANDROID_BUILD_CONFIG
default: 'lkft-hikey-android-9.0-4.9-lts lkft-hikey960-android-9.0-4.9-lts lkft-hikey-android-10.0-gsi-4.9-p lkft-hikey960-android-10.0-gsi-4.9-p'
- string:
name: TEST_QA_SERVER_ENVIRONMENT_ENABLED
default: true
- string:
name: KERNEL_DESCRIBE
- string:
name: KERNEL_BRANCH
- string:
name: SRCREV_kernel
disabled: false
node: docker-xenial-android-lkft
display-name: 'LKFT - AOSP 4.9 premerge CI'
wrappers:
- timestamps
- build-name:
name: '#${BUILD_NUMBER}-${ENV,var="KERNEL_DESCRIBE"}'
- 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-v2.sh
- shell:
!include-raw: lkft/lava-job-definitions/common/submit_for_testing-v2.sh
publishers:
- 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] HiKey/HiKey960 4.9 Premerge: ${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
|