Added initial liburcu jjb jobs
[lttng-ci.git] / jobs / liburcu.yaml
CommitLineData
e3022ad9
MJ
1# {project}_{version}_{jobtype}
2# liburcu_stable-0.8_build
3#
4# jobtypes:
5# - build
6# - portbuild
7# - cppcheck
8# - coverity
9# - scan-build
10# - pylint
11
12- defaults:
13 name: liburcu
14 description: |
15 liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This
16 data synchronization library provides read-side access which scales
17 linearly with the number of cores. It does so by allowing multiples
18 copies of a given data structure to live at the same time, and by
19 monitoring the data structure accesses to detect grace periods after
20 which memory reclamation is possible.
21
22 liburcu-cds provides efficient data structures based on RCU and
23 lock-free algorithms. Those structures include hash tables, queues,
24 stacks, and doubly-linked lists.
25
26 <p>Job is managed by Jenkins Job Builder.</p>
27
28 project-type: freestyle
29
30 logrotate:
31 daysToKeep: -1
32 numToKeep: 2
33 artifactDaysToKeep: -1
34 artifactNumToKeep: -1
35
36 wrappers:
37 - workspace-cleanup
38 - timestamps
39 - ansicolor
40
41 scm:
42 - git:
43 url: https://github.com/urcu/userspace-rcu.git
44 browser: githubweb
45 browser-url: https://github.com/urcu/userspace-rcu.git
46 branches:
47 - origin/{version}
48
49 triggers:
50 - pollscm: "@hourly"
51
52 properties:
53 - github:
54 url: https://github.com/urcu/userspace-rcu/
55
56
57## Templates
58- job-template:
59 name: liburcu_{version}_build
60 defaults: liburcu
61
62 project-type: matrix
63 axes:
64 - axis:
65 type: slave
66 name: arch
67 values:
68 - x86-32
69 - x86-64
70 - axis:
71 type: user-defined
72 name: conf
73 values:
74 - std
75 - static
76 - tls_fallback
77 - axis:
78 type: user-defined
79 name: build
80 values:
81 - std
82 - oot
83 - dist
84
85 builders:
86 - shell:
87 !include-raw-escape scripts/liburcu/build.sh
88
89 # TODO: Scan for open tasks
90 publishers:
91 - warnings:
92 console-log-parsers:
93 - 'GNU Make + GNU C Compiler (gcc)'
94 - archive:
95 artifacts: 'build/**'
96 allow-empty: false
97 fingerprint: true
98 - trigger:
99 project: lttng-ust-{version}
100 threshold: SUCCESS
101
102- job-template:
103 name: liburcu_{version}_cppcheck
104 defaults: liburcu
105
106 triggers:
107 - pollscm: "@daily"
108
109 builders:
110 - shell: |
111 rm -f liburcu-cppcheck.xml
112 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> liburcu-cppcheck.xml
113
114 publishers:
115 - archive:
116 artifacts: 'liburcu-cppcheck.xml'
117 allow-empty: false
118 fingerprint: true
119 - cppcheck:
120 pattern: 'liburcu-cppcheck.xml'
121 - email:
122 recipients: 'ci-notification@lists.lttng.org'
123 notify-every-unstable-build: true
124 send-to-individuals: false
125
126- job-template:
127 name: liburcu_{version}_scan-build
128 defaults: liburcu
129 node: 'x86-64'
130
131 triggers:
132 - pollscm: "@daily"
133
134 builders:
135 - shell:
136 !include-raw-escape scripts/liburcu/scan-build.sh
137
138 publishers:
139 - html-publisher:
140 name: 'HTML Report'
141 dir: 'scan-build-archive/'
142 files: 'index.html'
143
144# TODO: liburcu_{version}_coverity
145
146
147## Project
148- project:
149 name: liburcu
150 version:
151 - stable-0.7
152 - stable-0.8
153 - master
154 jobs:
155 - 'liburcu_{version}_build'
156 - 'liburcu_{version}_cppcheck'
157 - 'liburcu_{version}_scan-build'
158
This page took 0.027622 seconds and 4 git commands to generate.