Set lttng-modules jobs to poll scm daily
[lttng-ci.git] / jobs / lttng-modules.yaml
1 ---
2 - defaults:
3 name: lttng-modules
4 description: |
5 Build lttng-modules against different Linux kernels.
6
7 <p>Job is managed by Jenkins Job Builder.</p>
8
9 project-type: freestyle
10
11 logrotate:
12 daysToKeep: -1
13 numToKeep: 2
14 artifactDaysToKeep: -1
15 artifactNumToKeep: -1
16
17 wrappers:
18 - workspace-cleanup
19 - timestamps
20 - ansicolor
21
22 scm:
23 - git:
24 url: git://github.com/lttng/lttng-modules.git
25 branches:
26 - "{mversion}"
27 shallow-clone: true
28 skip-tag: true
29 fastpoll: true
30 basedir: lttng-modules
31
32 triggers:
33 - pollscm: "@daily"
34
35 properties:
36 - throttle:
37 max-per-node: 0
38 max-total: 0
39 option: category
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 node: 'x86-32 || x86-64' # Applies only to matrix flyweight task
51 axes:
52 - axis:
53 type: slave
54 name: arch
55 values: '{obj:arch}'
56
57 builders:
58 - copyartifact:
59 project: kernel_{kversion}_{buildtype}/arch=$arch
60 which-build: last-successful
61 stable: true
62 filter: 'build/**'
63 target: 'deps/linux'
64 - shell: |
65 git clone --depth=1 -b "v{kversion}" --reference $HOME/gitcache/linux-stable.git/ git://artifacts.internal.efficios.com/git/linux-stable.git linux
66 - shell:
67 !include-raw-escape scripts/lttng-modules/build.sh
68
69 publishers:
70 - archive:
71 artifacts: 'build/**'
72 allow-empty: false
73 fingerprint: true
74 - workspace-cleanup
75
76
77 ## Project
78 - project:
79 name: lttng-modules
80 mversion:
81 !include jobs/inc/lttng-modules-versions.yaml.inc
82 kversion:
83 !include jobs/inc/kernel-versions.yaml.inc
84 jobs:
85 - 'lttng-modules_{mversion}_{kversion}_{buildtype}':
86 buildtype: build
87 arch: !!python/tuple [x86-32, x86-64]
88 #- 'lttng-modules_{mversion}_{kversion}_{buildtype}':
89 # buildtype: portbuild
90 # arch: !!python/tuple [armhf, powerpc]
This page took 0.032508 seconds and 5 git commands to generate.