Commit | Line | Data |
---|---|---|
598af463 MJ |
1 | --- |
2 | - defaults: | |
3 | name: kernel | |
4 | description: | | |
5 | TODO | |
6 | ||
7 | project-type: freestyle | |
8 | ||
9 | logrotate: | |
10 | daysToKeep: -1 | |
11 | numToKeep: 2 | |
12 | artifactDaysToKeep: -1 | |
13 | artifactNumToKeep: -1 | |
14 | ||
15 | wrappers: | |
16 | - workspace-cleanup | |
17 | - timestamps | |
18 | - ansicolor | |
19 | ||
20 | scm: | |
21 | - git: | |
22 | url: git://artifacts.internal.efficios.com/git/linux-stable.git | |
23 | branches: | |
24 | - refs/tags/v{kversion} | |
25 | shallow-clone: true | |
26 | basedir: linux | |
27 | ||
28 | triggers: | |
29 | - pollscm: "@yearly" | |
30 | ||
31 | properties: | |
32 | - throttle: | |
33 | max-per-node: 0 | |
34 | max-total: 0 | |
35 | categories: | |
36 | - 'lttng-module-linux' | |
37 | ||
38 | ||
39 | ## Templates | |
40 | - job-template: | |
41 | name: kernel_{kversion}_{buildtype} | |
42 | defaults: kernel | |
43 | ||
44 | project-type: matrix | |
45 | axes: | |
46 | - axis: | |
47 | type: slave | |
48 | name: arch | |
49 | values: '{obj:arch}' | |
50 | ||
51 | builders: | |
52 | - shell: | |
53 | !include-raw-escape scripts/kernel/build.sh | |
54 | ||
55 | publishers: | |
56 | - archive: | |
57 | artifacts: 'build/**' | |
58 | allow-empty: false | |
59 | fingerprint: true | |
60 | - trigger: | |
61 | project: lttng-modules_master_{kversion}_{buildtype} | |
62 | threshold: SUCCESS | |
63 | ||
64 | ||
65 | ## Project | |
66 | - project: | |
67 | name: kernel | |
68 | kversion: | |
69 | !include jobs/inc/kernel-versions.yaml.inc | |
70 | jobs: | |
71 | - 'kernel_{kversion}_{buildtype}': | |
72 | buildtype: build | |
73 | arch: !!python/tuple [x86-32, x86-64] | |
74 | - 'kernel_{kversion}_{buildtype}': | |
75 | buildtype: portbuild | |
76 | arch: !!python/tuple [armhf, powerpc] |