babeltrace: check header include guards in lint job
[lttng-ci.git] / jobs / barectf.yaml
1 ---
2 ## Defaults ##
3 - defaults:
4 name: barectf
5 description: |
6 <em><strong><a href="https://github.com/efficios/barectf">barectf</a></strong></em>
7 is a command-line utility which generates C99 code that is able to write
8 native Common Trace Format (CTF) binary streams.
9
10 <p>Job is managed by Jenkins Job Builder.</p>
11
12 project-type: freestyle
13
14 wrappers:
15 - ansicolor: &barectf_wrapper_ansicolor_defaults
16 colormap: xterm
17 - timeout: &barectf_wrapper_timeout_defaults
18 timeout: 20
19 fail: true
20 type: no-activity
21 - timestamps
22 - workspace-cleanup
23
24 scm:
25 - git:
26 url: https://github.com/{github_user}/{github_name}.git
27 browser: githubweb
28 browser-url: https://github.com/{github_user}/{github_name}
29 branches:
30 - origin/{version}
31 basedir: src/barectf
32 skip-tag: true
33
34 triggers:
35 - github
36 - pollscm:
37 cron: "@hourly"
38
39 properties:
40 - build-discarder:
41 num-to-keep: 10
42 artifact-num-to-keep: 2
43 - github:
44 url: https://github.com/{github_user}/{github_name}
45
46 publishers:
47 - workspace-cleanup: &barectf_publisher_workspace_cleanup_defaults
48 clean-if:
49 - failure: false
50 - ircbot: &barectf_publisher_ircbot_defaults
51 strategy: statechange-only
52 message-type: summary
53 matrix-notifier: only-parent
54
55
56 ## Templates ##
57 - job-template:
58 name: barectf_{version}_{buildtype}
59 defaults: barectf
60
61 project-type: matrix
62 node: 'master' # Applies only to matrix flyweight task
63 axes:
64 - axis:
65 type: slave
66 name: platform
67 values: '{obj:platforms}'
68
69 builders:
70 - shell:
71 !include-raw-escape: scripts/barectf/build.sh
72
73 publishers:
74 - workspace-cleanup: *barectf_publisher_workspace_cleanup_defaults
75 - ircbot: *barectf_publisher_ircbot_defaults
76 - email-ext:
77 recipients: '{obj:email_to}'
78 reply-to: ci-notification@lists.lttng.org
79 always: false
80 unstable: false
81 first-failure: true
82 first-unstable: true
83 not-built: false
84 aborted: false
85 regression: false
86 failure: false
87 second-failure: false
88 improvement: false
89 still-failing: false
90 success: false
91 fixed: false
92 fixed-unhealthy: true
93 still-unstable: false
94 pre-build: false
95 matrix-trigger: only-parent
96 send-to:
97 - recipients
98
99 - job-template:
100 name: dev_review_barectf_{version}_{buildtype}
101 defaults: barectf
102 concurrent: true
103
104 project-type: matrix
105 node: 'master' # Applies only to matrix flyweight task
106 axes:
107 - axis:
108 type: slave
109 name: platform
110 values: '{obj:platforms}'
111
112 scm:
113 - git:
114 url: https://review.lttng.org/barectf
115 refspec: 'refs/changes/*:refs/changes/*'
116 branches:
117 - '$GERRIT_REFSPEC'
118 basedir: src/barectf
119 skip-tag: true
120
121 triggers:
122 - gerrit:
123 trigger-on:
124 - comment-added-event:
125 approval-category: 'CI-Build'
126 approval-value: 1
127 projects:
128 - project-compare-type: 'PLAIN'
129 project-pattern: 'barectf'
130 branches:
131 - branch-compare-type: 'PLAIN'
132 branch-pattern: '{version}'
133
134 properties:
135 - build-discarder:
136 days-to-keep: 1
137 - throttle:
138 option: 'category'
139 categories:
140 - 'gerrit-{buildtype}'
141
142 builders:
143 - shell:
144 !include-raw-escape: scripts/barectf/build.sh
145
146 publishers:
147 - workspace-cleanup: *barectf_publisher_workspace_cleanup_defaults
148
149
150 ## Views ##
151 - view-template:
152 name: 'Barectf'
153 view-type: list
154 regex: 'barectf[-_].*'
155
156
157 ## Projects ##
158 - project:
159 name: barectf
160 github_user: efficios
161 github_name: barectf
162 email_to: 'ci-notification@lists.lttng.org, cc:pproulx@efficios.com'
163 version:
164 - master
165 - stable-3.0
166 - stable-3.1
167 jobs:
168 - 'barectf_{version}_{buildtype}':
169 buildtype: linuxbuild
170 platforms: !!python/tuple [deb12-amd64]
171
172 - project:
173 name: review-barectf
174 github_user: efficios
175 github_name: barectf
176 version:
177 - master
178 - stable-3.0
179 - stable-3.1
180 jobs:
181 - 'dev_review_barectf_{version}_{buildtype}':
182 buildtype: linuxbuild
183 platforms: !!python/tuple [deb12-amd64]
184
185 - project:
186 name: barectf-views
187 views:
188 - Barectf
This page took 0.032847 seconds and 4 git commands to generate.