Use git protocol instead of https
[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 browser: githubweb
26 browser-url: https://github.com/efficios/lttng-modules
27 branches:
28 - "{mversion}"
29 shallow-clone: true
30 skip-tag: true
31 fastpoll: true
32 basedir: lttng-modules
33
34 triggers:
35 - pollscm: "@daily"
36
37 properties:
38 - github:
39 url: https://github.com/efficios/lttng-modules
40 - throttle:
41 max-per-node: 0
42 max-total: 0
43 option: category
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
54 node: 'x86-32 || x86-64' # Applies only to matrix flyweight task
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'
68 do-not-fingerprint: true
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
71 - shell:
72 !include-raw-escape scripts/lttng-modules/build.sh
73
74 publishers:
75 - archive:
76 artifacts: 'build/**'
77 allow-empty: false
78 - workspace-cleanup
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]
92 #- 'lttng-modules_{mversion}_{kversion}_{buildtype}':
93 # buildtype: portbuild
94 # arch: !!python/tuple [armhf, powerpc]
This page took 0.031856 seconds and 5 git commands to generate.