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: | |
15 | - workspace-cleanup | |
16 | - timestamps | |
17 | - ansicolor: | |
18 | colormap: xterm | |
9b7bab3d MJ |
19 | |
20 | scm: | |
21 | - git: | |
4d27af8f | 22 | url: https://github.com/{github_user}/{github_name}.git |
9b7bab3d MJ |
23 | browser: githubweb |
24 | browser-url: https://github.com/{github_user}/{github_name} | |
25 | branches: | |
26 | - origin/{version} | |
27 | basedir: src/barectf | |
28 | skip-tag: true | |
29 | ||
30 | triggers: | |
f78f03ce | 31 | - github |
9b7bab3d MJ |
32 | - pollscm: |
33 | cron: "@hourly" | |
34 | ||
35 | properties: | |
36 | - build-discarder: | |
37 | num-to-keep: 2 | |
38 | - github: | |
39 | url: https://github.com/{github_user}/{github_name} | |
40 | ||
41 | ||
b50820f1 | 42 | ## Templates ## |
9b7bab3d MJ |
43 | - job-template: |
44 | name: barectf_{version}_build | |
45 | defaults: barectf | |
46 | ||
47 | project-type: matrix | |
48 | node: 'master' # Applies only to matrix flyweight task | |
49 | axes: | |
50 | - axis: | |
51 | type: slave | |
52 | name: arch | |
53 | values: '{obj:arch}' | |
54 | ||
55 | builders: | |
56 | - shell: | |
57 | !include-raw-escape: scripts/barectf/build.sh | |
58 | ||
59 | publishers: | |
49b739d5 JR |
60 | - email-ext: |
61 | recipients: '{obj:email_to}' | |
62 | reply-to: ci-notification@lists.lttng.org | |
63 | always: false | |
64 | unstable: false | |
65 | first-failure: true | |
66 | first-unstable: true | |
67 | not-built: false | |
68 | aborted: false | |
69 | regression: false | |
70 | failure: false | |
71 | second-failure: false | |
72 | improvement: false | |
73 | still-failing: false | |
74 | success: false | |
75 | fixed: false | |
76 | fixed-unhealthy: true | |
77 | still-unstable: false | |
78 | pre-build: false | |
79 | matrix-trigger: only-parent | |
80 | send-to: | |
81 | - recipients | |
9b7bab3d | 82 | |
2f58594e MJ |
83 | - job-template: |
84 | name: dev_gerrit_barectf_{buildtype} | |
85 | defaults: barectf | |
86 | concurrent: true | |
87 | ||
88 | project-type: matrix | |
89 | node: 'master' # Applies only to matrix flyweight task | |
90 | axes: | |
91 | - axis: | |
92 | type: slave | |
93 | name: arch | |
94 | values: '{obj:arch}' | |
95 | ||
96 | scm: | |
97 | - git: | |
98 | url: https://review.lttng.org/barectf | |
99 | refspec: 'refs/changes/*:refs/changes/*' | |
100 | branches: | |
101 | - '$GERRIT_REFSPEC' | |
102 | basedir: src/barectf | |
103 | skip-tag: true | |
104 | ||
105 | triggers: | |
106 | - gerrit: | |
107 | trigger-on: | |
108 | - comment-added-event: | |
109 | approval-category: 'CI-Build' | |
110 | approval-value: 1 | |
111 | projects: | |
112 | - project-compare-type: 'PLAIN' | |
113 | project-pattern: 'barectf' | |
114 | branches: | |
115 | - branch-compare-type: 'ANT' | |
116 | branch-pattern: '**' | |
2f58594e | 117 | |
7d482a1d MJ |
118 | properties: |
119 | - build-discarder: | |
120 | days-to-keep: 1 | |
121 | - throttle: | |
122 | option: 'category' | |
123 | categories: | |
124 | - 'gerrit-{buildtype}' | |
2f58594e MJ |
125 | builders: |
126 | - shell: | |
127 | !include-raw-escape: scripts/barectf/build.sh | |
128 | ||
9b7bab3d | 129 | |
b50820f1 MJ |
130 | ## Views ## |
131 | - view-template: | |
132 | name: 'Barectf' | |
133 | view-type: list | |
134 | regex: 'barectf[-_].*' | |
9b7bab3d | 135 | |
9b7bab3d | 136 | |
b50820f1 | 137 | ## Projects ## |
9b7bab3d MJ |
138 | - project: |
139 | name: barectf | |
140 | github_user: efficios | |
141 | github_name: barectf | |
49b739d5 | 142 | email_to: 'ci-notification@lists.lttng.org, cc:pproulx@efficios.com' |
9b7bab3d MJ |
143 | version: |
144 | - master | |
7710f477 | 145 | - stable-3.0 |
9b7bab3d MJ |
146 | jobs: |
147 | - 'barectf_{version}_build': | |
ba27cbe0 | 148 | arch: !!python/tuple [amd64] |
9b7bab3d | 149 | |
2f58594e MJ |
150 | - project: |
151 | name: gerrit-barectf | |
152 | github_user: efficios | |
b50820f1 | 153 | github_name: barectf |
2f58594e MJ |
154 | jobs: |
155 | - 'dev_gerrit_barectf_{buildtype}': | |
156 | buildtype: build | |
ba27cbe0 | 157 | arch: !!python/tuple [amd64] |
b50820f1 MJ |
158 | |
159 | - project: | |
160 | name: barectf-views | |
161 | views: | |
162 | - Barectf |