blob: 845b6146f41ef5985c86187ece3b086ae20d7094 (
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
96
97
98
99
100
101
102
103
104
105
106
107
108
|
- job:
name: trigger-linux-stable-rc
project-type: freestyle
defaults: global
properties:
- authorization:
anonymous:
- job-read
- job-extended-read
- build-discarder:
days-to-keep: 30
num-to-keep: 30
disabled: false
node: triggers
display-name: 'Trigger for Linux Stable RC'
scm:
- git:
remotes:
- linux-stable-rc:
url: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
- linux-stable:
url: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
branches:
- linux-stable-rc/linux-4.4.y
- linux-stable-rc/linux-4.9.y
- linux-stable-rc/linux-4.14.y
- linux-stable-rc/linux-4.19.y
- linux-stable-rc/linux-5.4.y
- linux-stable-rc/linux-5.5.y
- linux-stable-rc/linux-5.6.y
- linux-stable-rc/linux-5.7.y
- linux-stable-rc/linux-5.8.y
- linux-stable-rc/linux-5.9.y
- linux-stable-rc/linux-5.10.y
name: linux
skip-tag: true
shallow-clone: false
wipe-workspace: false
triggers:
- pollscm:
cron: 'H/5 * * * *'
wrappers:
- timestamps
- build-name:
name: '#${BUILD_NUMBER}-${GIT_BRANCH#linux-stable-rc/}-${GIT_REVISION,length=8}'
builders:
- shell: |
#!/bin/bash -ex
git clean -fdx
env
MAKE_KERNELVERSION=$(make kernelversion)
KERNEL_BRANCH=${GIT_BRANCH#linux-stable-rc/}
KERNEL_DESCRIBE=$(git describe --always --abbrev=12)
params=lkft-${KERNEL_BRANCH}.txt
echo KERNEL_DESCRIBE=${KERNEL_DESCRIBE} >> $params
echo SRCREV_kernel=${GIT_COMMIT} >> $params
echo MAKE_KERNELVERSION=${MAKE_KERNELVERSION} >> $params
echo KERNEL_BRANCH=${KERNEL_BRANCH} >> $params
cat $params
# generate files for the api callback build
f_api_callbacks="all-kernels.txt"
cp -fv $params ${f_api_callbacks}
QA_BUILD_VERSION=${MAKE_KERNELVERSION}-${GIT_COMMIT:0:12}
echo "QA_BUILD_VERSION=${QA_BUILD_VERSION}" >> ${f_api_callbacks}
echo "CALLER_JOB_NAME=${JOB_NAME}" >> ${f_api_callbacks}
echo "CALLER_BUILD_NUMBER=${BUILD_NUMBER}" >>${f_api_callbacks}
- trigger-builds:
- project: lkft-api-callbacks
property-file: all-kernels.txt
- project: lkft-hikey-4.4-rc-p
property-file: lkft-linux-4.4.y.txt
- project: lkft-hikey-4.9-rc
property-file: lkft-linux-4.9.y.txt
- project: lkft-hikey-4.14-rc
property-file: lkft-linux-4.14.y.txt
- project: lkft-hikey-4.19-rc
property-file: lkft-linux-4.19.y.txt
- project: linaro-hikey-stable-rc-4.4-merge-and-tag
property-file: lkft-linux-4.4.y.txt
- project: lkft-db845c-5.4-rc
property-file: lkft-linux-5.4.y.txt
- project: openembedded-lkft-linux-stable-rc-4.4
property-file: lkft-linux-4.4.y.txt
- project: openembedded-lkft-linux-stable-rc-4.9
property-file: lkft-linux-4.9.y.txt
- project: openembedded-lkft-linux-stable-rc-4.14
property-file: lkft-linux-4.14.y.txt
- project: openembedded-lkft-linux-stable-rc-4.19
property-file: lkft-linux-4.19.y.txt
- project: openembedded-lkft-linux-stable-rc-5.4
property-file: lkft-linux-5.4.y.txt
- project: openembedded-lkft-linux-stable-rc-5.5
property-file: lkft-linux-5.5.y.txt
- project: openembedded-lkft-linux-stable-rc-5.6
property-file: lkft-linux-5.6.y.txt
- project: openembedded-lkft-linux-stable-rc-5.7
property-file: lkft-linux-5.7.y.txt
- project: openembedded-lkft-linux-stable-rc-5.8
property-file: lkft-linux-5.8.y.txt
- project: openembedded-lkft-linux-stable-rc-5.9
property-file: lkft-linux-5.9.y.txt
- project: openembedded-lkft-linux-stable-rc-5.10
property-file: lkft-linux-5.10.y.txt
|