Commit | Line | Data |
---|---|---|
598af463 MJ |
1 | --- |
2 | - defaults: | |
3 | name: lttng-modules | |
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 | |
bb2f38b1 MJ |
26 | skip-tag: true |
27 | fastpoll: true | |
598af463 | 28 | basedir: linux |
bb2f38b1 | 29 | reference-repo: $HOME/gitcache/linux-stable.git/ |
598af463 MJ |
30 | - git: |
31 | url: git://github.com/lttng/lttng-modules.git | |
32 | branches: | |
33 | - "{mversion}" | |
34 | basedir: lttng-modules | |
35 | ||
598af463 MJ |
36 | properties: |
37 | - throttle: | |
38 | max-per-node: 0 | |
39 | max-total: 0 | |
40 | categories: | |
41 | - 'lttng-module-linux' | |
42 | ||
43 | ||
44 | ## Templates | |
45 | - job-template: | |
46 | name: lttng-modules_{mversion}_{kversion}_{buildtype} | |
47 | defaults: lttng-modules | |
48 | ||
49 | project-type: matrix | |
50 | axes: | |
51 | - axis: | |
52 | type: slave | |
53 | name: arch | |
54 | values: '{obj:arch}' | |
55 | ||
56 | builders: | |
57 | - copyartifact: | |
58 | project: kernel_{kversion}_{buildtype}/arch=$arch | |
59 | which-build: last-successful | |
60 | stable: true | |
61 | filter: 'build/**' | |
62 | target: 'deps/linux' | |
63 | - shell: | |
64 | !include-raw-escape scripts/lttng-modules/build.sh | |
65 | ||
66 | publishers: | |
67 | - archive: | |
68 | artifacts: 'build/**' | |
69 | allow-empty: false | |
70 | fingerprint: true | |
71 | ||
72 | ||
73 | ## Project | |
74 | - project: | |
75 | name: lttng-modules | |
76 | mversion: | |
77 | !include jobs/inc/lttng-modules-versions.yaml.inc | |
78 | kversion: | |
79 | !include jobs/inc/kernel-versions.yaml.inc | |
80 | jobs: | |
81 | - 'lttng-modules_{mversion}_{kversion}_{buildtype}': | |
82 | buildtype: build | |
83 | arch: !!python/tuple [x86-32, x86-64] | |
af978102 MJ |
84 | #- 'lttng-modules_{mversion}_{kversion}_{buildtype}': |
85 | # buildtype: portbuild | |
86 | # arch: !!python/tuple [armhf, powerpc] |