ansible: Enable RDP and allow pings on windows CI hosts
[lttng-ci.git] / jobs / barectf.yaml
CommitLineData
b50820f1
MJ
1---
2## Defaults ##
9b7bab3d
MJ
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:
c0f6d9ca 15 - ansicolor: &barectf_wrapper_ansicolor_defaults
9b7bab3d 16 colormap: xterm
c0f6d9ca
MJ
17 - timeout: &barectf_wrapper_timeout_defaults
18 timeout: 20
19 fail: true
20 type: no-activity
21 - timestamps
22 - workspace-cleanup
9b7bab3d
MJ
23
24 scm:
25 - git:
4d27af8f 26 url: https://github.com/{github_user}/{github_name}.git
9b7bab3d
MJ
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:
f78f03ce 35 - github
9b7bab3d
MJ
36 - pollscm:
37 cron: "@hourly"
38
39 properties:
40 - build-discarder:
3b228cdd
MJ
41 num-to-keep: 10
42 artifact-num-to-keep: 2
9b7bab3d
MJ
43 - github:
44 url: https://github.com/{github_user}/{github_name}
45
c0f6d9ca
MJ
46 publishers:
47 - workspace-cleanup: &barectf_publisher_workspace_cleanup_defaults
48 clean-if:
49 - failure: false
ee4b760a
MJ
50 - ircbot: &barectf_publisher_ircbot_defaults
51 strategy: statechange-only
2abd3a64
MJ
52 message-type: summary
53 matrix-notifier: only-parent
c0f6d9ca 54
9b7bab3d 55
b50820f1 56## Templates ##
9b7bab3d 57- job-template:
c0f6d9ca 58 name: barectf_{version}_{buildtype}
9b7bab3d
MJ
59 defaults: barectf
60
61 project-type: matrix
62 node: 'master' # Applies only to matrix flyweight task
63 axes:
64 - axis:
65 type: slave
c0f6d9ca
MJ
66 name: platform
67 values: '{obj:platforms}'
9b7bab3d
MJ
68
69 builders:
70 - shell:
71 !include-raw-escape: scripts/barectf/build.sh
72
73 publishers:
c0f6d9ca 74 - workspace-cleanup: *barectf_publisher_workspace_cleanup_defaults
ee4b760a 75 - ircbot: *barectf_publisher_ircbot_defaults
49b739d5
JR
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
9b7bab3d 98
2f58594e 99- job-template:
f172adcf 100 name: dev_review_barectf_{version}_{buildtype}
2f58594e
MJ
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
c0f6d9ca
MJ
109 name: platform
110 values: '{obj:platforms}'
2f58594e
MJ
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:
f172adcf
MJ
131 - branch-compare-type: 'PLAIN'
132 branch-pattern: '{version}'
2f58594e 133
7d482a1d
MJ
134 properties:
135 - build-discarder:
136 days-to-keep: 1
137 - throttle:
138 option: 'category'
139 categories:
140 - 'gerrit-{buildtype}'
c0f6d9ca 141
2f58594e
MJ
142 builders:
143 - shell:
144 !include-raw-escape: scripts/barectf/build.sh
145
ee4b760a
MJ
146 publishers:
147 - workspace-cleanup: *barectf_publisher_workspace_cleanup_defaults
148
9b7bab3d 149
b50820f1
MJ
150## Views ##
151- view-template:
152 name: 'Barectf'
153 view-type: list
154 regex: 'barectf[-_].*'
9b7bab3d 155
9b7bab3d 156
b50820f1 157## Projects ##
9b7bab3d
MJ
158- project:
159 name: barectf
160 github_user: efficios
161 github_name: barectf
49b739d5 162 email_to: 'ci-notification@lists.lttng.org, cc:pproulx@efficios.com'
9b7bab3d
MJ
163 version:
164 - master
7710f477 165 - stable-3.0
bb7d7248 166 - stable-3.1
9b7bab3d 167 jobs:
c0f6d9ca
MJ
168 - 'barectf_{version}_{buildtype}':
169 buildtype: linuxbuild
30e5c12c 170 platforms: !!python/tuple [deb12-amd64]
9b7bab3d 171
2f58594e 172- project:
f172adcf 173 name: review-barectf
2f58594e 174 github_user: efficios
b50820f1 175 github_name: barectf
f172adcf
MJ
176 version:
177 - master
178 - stable-3.0
bb7d7248 179 - stable-3.1
2f58594e 180 jobs:
f172adcf 181 - 'dev_review_barectf_{version}_{buildtype}':
c0f6d9ca 182 buildtype: linuxbuild
30e5c12c 183 platforms: !!python/tuple [deb12-amd64]
b50820f1
MJ
184
185- project:
186 name: barectf-views
187 views:
188 - Barectf
This page took 0.038929 seconds and 4 git commands to generate.