jjb: Add el7 to elbuilds
[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: 2
42 - github:
43 url: https://github.com/{github_user}/{github_name}
44
45 publishers:
46 - workspace-cleanup: &barectf_publisher_workspace_cleanup_defaults
47 clean-if:
48 - failure: false
49
50
51 ## Templates ##
52 - job-template:
53 name: barectf_{version}_{buildtype}
54 defaults: barectf
55
56 project-type: matrix
57 node: 'master' # Applies only to matrix flyweight task
58 axes:
59 - axis:
60 type: slave
61 name: platform
62 values: '{obj:platforms}'
63
64 builders:
65 - shell:
66 !include-raw-escape: scripts/barectf/build.sh
67
68 publishers:
69 - workspace-cleanup: *barectf_publisher_workspace_cleanup_defaults
70 - email-ext:
71 recipients: '{obj:email_to}'
72 reply-to: ci-notification@lists.lttng.org
73 always: false
74 unstable: false
75 first-failure: true
76 first-unstable: true
77 not-built: false
78 aborted: false
79 regression: false
80 failure: false
81 second-failure: false
82 improvement: false
83 still-failing: false
84 success: false
85 fixed: false
86 fixed-unhealthy: true
87 still-unstable: false
88 pre-build: false
89 matrix-trigger: only-parent
90 send-to:
91 - recipients
92
93 - job-template:
94 name: dev_gerrit_barectf_{buildtype}
95 defaults: barectf
96 concurrent: true
97
98 project-type: matrix
99 node: 'master' # Applies only to matrix flyweight task
100 axes:
101 - axis:
102 type: slave
103 name: platform
104 values: '{obj:platforms}'
105
106 scm:
107 - git:
108 url: https://review.lttng.org/barectf
109 refspec: 'refs/changes/*:refs/changes/*'
110 branches:
111 - '$GERRIT_REFSPEC'
112 basedir: src/barectf
113 skip-tag: true
114
115 triggers:
116 - gerrit:
117 trigger-on:
118 - comment-added-event:
119 approval-category: 'CI-Build'
120 approval-value: 1
121 projects:
122 - project-compare-type: 'PLAIN'
123 project-pattern: 'barectf'
124 branches:
125 - branch-compare-type: 'ANT'
126 branch-pattern: '**'
127
128 properties:
129 - build-discarder:
130 days-to-keep: 1
131 - throttle:
132 option: 'category'
133 categories:
134 - 'gerrit-{buildtype}'
135
136 builders:
137 - shell:
138 !include-raw-escape: scripts/barectf/build.sh
139
140
141 ## Views ##
142 - view-template:
143 name: 'Barectf'
144 view-type: list
145 regex: 'barectf[-_].*'
146
147
148 ## Projects ##
149 - project:
150 name: barectf
151 github_user: efficios
152 github_name: barectf
153 email_to: 'ci-notification@lists.lttng.org, cc:pproulx@efficios.com'
154 version:
155 - master
156 - stable-3.0
157 jobs:
158 - 'barectf_{version}_{buildtype}':
159 buildtype: linuxbuild
160 platforms: !!python/tuple [jammy-amd64]
161
162 - project:
163 name: gerrit-barectf
164 github_user: efficios
165 github_name: barectf
166 jobs:
167 - 'dev_gerrit_barectf_{buildtype}':
168 buildtype: linuxbuild
169 platforms: !!python/tuple [jammy-amd64]
170
171 - project:
172 name: barectf-views
173 views:
174 - Barectf
This page took 0.033794 seconds and 4 git commands to generate.