Use deps in babeltrace
[lttng-ci.git] / jobs / lttng-modules.yaml
CommitLineData
598af463
MJ
1---
2- defaults:
3 name: lttng-modules
4 description: |
a3c2d81c
MJ
5 Build lttng-modules against different Linux kernels.
6
7 <p>Job is managed by Jenkins Job Builder.</p>
598af463
MJ
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:
598af463
MJ
23 - git:
24 url: git://github.com/lttng/lttng-modules.git
9a00aa82
MJ
25 browser: githubweb
26 browser-url: https://github.com/efficios/lttng-modules
598af463
MJ
27 branches:
28 - "{mversion}"
94bddbc4
MJ
29 shallow-clone: true
30 skip-tag: true
31 fastpoll: true
598af463
MJ
32 basedir: lttng-modules
33
d2fc1027
MJ
34 triggers:
35 - pollscm: "@daily"
36
598af463 37 properties:
9a00aa82
MJ
38 - github:
39 url: https://github.com/efficios/lttng-modules
598af463
MJ
40 - throttle:
41 max-per-node: 0
42 max-total: 0
a3c2d81c 43 option: category
598af463
MJ
44 categories:
45 - 'lttng-module-linux'
46
47
48## Templates
49- job-template:
50 name: lttng-modules_{mversion}_{kversion}_{buildtype}
51 defaults: lttng-modules
52
53 project-type: matrix
94bddbc4 54 node: 'x86-32 || x86-64' # Applies only to matrix flyweight task
598af463
MJ
55 axes:
56 - axis:
57 type: slave
58 name: arch
59 values: '{obj:arch}'
60
61 builders:
62 - copyartifact:
63 project: kernel_{kversion}_{buildtype}/arch=$arch
64 which-build: last-successful
65 stable: true
66 filter: 'build/**'
67 target: 'deps/linux'
83001fea 68 do-not-fingerprint: true
a3c2d81c
MJ
69 - shell: |
70 git clone --depth=1 -b "v{kversion}" --reference $HOME/gitcache/linux-stable.git/ git://artifacts.internal.efficios.com/git/linux-stable.git linux
598af463
MJ
71 - shell:
72 !include-raw-escape scripts/lttng-modules/build.sh
73
74 publishers:
75 - archive:
76 artifacts: 'build/**'
77 allow-empty: false
a3c2d81c 78 - workspace-cleanup
598af463
MJ
79
80
81## Project
82- project:
83 name: lttng-modules
84 mversion:
85 !include jobs/inc/lttng-modules-versions.yaml.inc
86 kversion:
87 !include jobs/inc/kernel-versions.yaml.inc
88 jobs:
89 - 'lttng-modules_{mversion}_{kversion}_{buildtype}':
90 buildtype: build
91 arch: !!python/tuple [x86-32, x86-64]
af978102
MJ
92 #- 'lttng-modules_{mversion}_{kversion}_{buildtype}':
93 # buildtype: portbuild
94 # arch: !!python/tuple [armhf, powerpc]
This page took 0.028789 seconds and 4 git commands to generate.