Commit | Line | Data |
---|---|---|
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: | |
41 | num-to-keep: 2 | |
42 | - github: | |
43 | url: https://github.com/{github_user}/{github_name} | |
44 | ||
c0f6d9ca MJ |
45 | publishers: |
46 | - workspace-cleanup: &barectf_publisher_workspace_cleanup_defaults | |
47 | clean-if: | |
48 | - failure: false | |
49 | ||
9b7bab3d | 50 | |
b50820f1 | 51 | ## Templates ## |
9b7bab3d | 52 | - job-template: |
c0f6d9ca | 53 | name: barectf_{version}_{buildtype} |
9b7bab3d MJ |
54 | defaults: barectf |
55 | ||
56 | project-type: matrix | |
57 | node: 'master' # Applies only to matrix flyweight task | |
58 | axes: | |
59 | - axis: | |
60 | type: slave | |
c0f6d9ca MJ |
61 | name: platform |
62 | values: '{obj:platforms}' | |
9b7bab3d MJ |
63 | |
64 | builders: | |
65 | - shell: | |
66 | !include-raw-escape: scripts/barectf/build.sh | |
67 | ||
68 | publishers: | |
c0f6d9ca | 69 | - workspace-cleanup: *barectf_publisher_workspace_cleanup_defaults |
49b739d5 JR |
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 | |
9b7bab3d | 92 | |
2f58594e MJ |
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 | |
c0f6d9ca MJ |
103 | name: platform |
104 | values: '{obj:platforms}' | |
2f58594e MJ |
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: '**' | |
2f58594e | 127 | |
7d482a1d MJ |
128 | properties: |
129 | - build-discarder: | |
130 | days-to-keep: 1 | |
131 | - throttle: | |
132 | option: 'category' | |
133 | categories: | |
134 | - 'gerrit-{buildtype}' | |
c0f6d9ca | 135 | |
2f58594e MJ |
136 | builders: |
137 | - shell: | |
138 | !include-raw-escape: scripts/barectf/build.sh | |
139 | ||
9b7bab3d | 140 | |
b50820f1 MJ |
141 | ## Views ## |
142 | - view-template: | |
143 | name: 'Barectf' | |
144 | view-type: list | |
145 | regex: 'barectf[-_].*' | |
9b7bab3d | 146 | |
9b7bab3d | 147 | |
b50820f1 | 148 | ## Projects ## |
9b7bab3d MJ |
149 | - project: |
150 | name: barectf | |
151 | github_user: efficios | |
152 | github_name: barectf | |
49b739d5 | 153 | email_to: 'ci-notification@lists.lttng.org, cc:pproulx@efficios.com' |
9b7bab3d MJ |
154 | version: |
155 | - master | |
7710f477 | 156 | - stable-3.0 |
9b7bab3d | 157 | jobs: |
c0f6d9ca MJ |
158 | - 'barectf_{version}_{buildtype}': |
159 | buildtype: linuxbuild | |
160 | platforms: !!python/tuple [jammy-amd64] | |
9b7bab3d | 161 | |
2f58594e MJ |
162 | - project: |
163 | name: gerrit-barectf | |
164 | github_user: efficios | |
b50820f1 | 165 | github_name: barectf |
2f58594e MJ |
166 | jobs: |
167 | - 'dev_gerrit_barectf_{buildtype}': | |
c0f6d9ca MJ |
168 | buildtype: linuxbuild |
169 | platforms: !!python/tuple [jammy-amd64] | |
b50820f1 MJ |
170 | |
171 | - project: | |
172 | name: barectf-views | |
173 | views: | |
174 | - Barectf |