Fix pylint job
[lttng-ci.git] / jobs / kernel.yaml
1 ---
2 - defaults:
3 name: kernel
4 description: |
5 Prepare kernel tree for OOT build of lttng-modules
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://artifacts.internal.efficios.com/git/linux-stable.git
25 # branches:
26 # - refs/tags/v{kversion}
27 # shallow-clone: true
28 # skip-tag: true
29 # fastpoll: true
30 # basedir: linux
31 # reference-repo: $HOME/gitcache/linux-stable.git/
32
33 properties:
34 - throttle:
35 max-per-node: 0
36 max-total: 0
37 option: category
38 categories:
39 - 'lttng-module-linux'
40
41
42 ## Templates
43 - job-template:
44 name: kernel_{kversion}_{buildtype}
45 defaults: kernel
46
47 project-type: matrix
48 node: 'master' # Applies only to matrix flyweight task
49 axes:
50 - axis:
51 type: slave
52 name: arch
53 values: '{obj:arch}'
54
55 builders:
56 - shell: |
57 git clone --depth=1 -b "v{kversion}" --reference $HOME/gitcache/linux-stable.git/ git://artifacts.internal.efficios.com/git/linux-stable.git linux
58 - shell:
59 !include-raw-escape scripts/kernel/build.sh
60
61 publishers:
62 - archive:
63 artifacts: 'build/**'
64 allow-empty: false
65 - workspace-cleanup
66
67
68 ## Project
69 - project:
70 name: kernel
71 kversion:
72 !include jobs/inc/kernel-versions.yaml.inc
73 jobs:
74 - 'kernel_{kversion}_{buildtype}':
75 buildtype: build
76 arch: !!python/tuple [x86-32, x86-64]
77 #- 'kernel_{kversion}_{buildtype}':
78 # buildtype: portbuild
79 # arch: !!python/tuple [armhf, powerpc]
This page took 0.031017 seconds and 4 git commands to generate.