blob: 502d8a25775deb7b9ebc534df2d1b93bdf7e07b1 (
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
|
- job:
name: trigger-lkft-android-common
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: 400
disabled: true
node: triggers
display-name: 'Trigger for changes on android common kernel'
scm:
- git:
remotes:
- android-common:
url: https://android.googlesource.com/kernel/common
- linux-stable:
url: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
refspec: +refs/heads/linux-5.4.y:refs/remotes/linux-stable/linux-5.4.y +refs/heads/master:refs/remotes/master/master
branches:
- android-common/android12-5.10-lts
- android-common/android12-5.4-lts
skip-tag: true
shallow-clone: false
wipe-workspace: false
triggers:
- pollscm:
cron: 'H H * * *'
wrappers:
- timestamps
- build-name:
name: '#${BUILD_NUMBER}-${PROPFILE,file="properties.txt",property="KERNEL_DESCRIBE"}-${GIT_BRANCH#android-common/}'
builders:
- shell: |
#!/bin/bash -ex
git clean -fdx
env
MAKE_KERNELVERSION="$(make kernelversion)"
KERNEL_BRANCH="${GIT_BRANCH#android-common/}"
KERNEL_DESCRIBE="${MAKE_KERNELVERSION}-${GIT_COMMIT:0:12}"
echo "KERNEL_DESCRIBE=${KERNEL_DESCRIBE}" > "properties.txt"
echo "KERNEL_BRANCH=${KERNEL_BRANCH}" >> "properties.txt"
params="lkft-parameters.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}"
echo "CALLER_JOB_NAME=${JOB_NAME}" >> "${params}"
echo "CALLER_BUILD_NUMBER=${BUILD_NUMBER}" >> "${params}"
cat "${params}"
- trigger-builds:
- project: lkft-android-common-gateway
property-file: lkft-parameters.txt
publishers:
- email:
recipients: 'lkft-maintainers@lists.linaro.org'
|