jjb: Add lttng-scope
[lttng-ci.git] / jobs / lttng-scope.yml
1 - defaults:
2 name: lttng-scope
3 description: |
4 Nightly build of LTTng Scope.
5
6 <p>Job is managed by Jenkins Job Builder.</p>
7
8 project-type: freestyle
9
10 wrappers:
11 - workspace-cleanup
12 - timestamps
13 - ansicolor
14
15 scm:
16 - git:
17 url: git://github.com/{github_user}/{github_name}.git
18 browser: githubweb
19 browser-url: https://github.com/{github_user}/{github_name}
20 branches:
21 - origin/{version}
22 skip-tag: true
23
24 triggers:
25 - pollscm:
26 cron: "@hourly"
27
28 properties:
29 - build-discarder:
30 num-to-keep: 7
31 - github:
32 url: https://github.com/{github_user}/{github_name}
33
34
35 ## Templates
36 - job-template:
37 name: lttng-scope_{version}_build
38 defaults: lttng-scope
39
40 project-type: matrix
41 node: 'master' # Applies only to matrix flyweight task
42 axes:
43 - axis:
44 type: slave
45 name: arch
46 values: '{obj:arch}'
47 - axis:
48 type: user-defined
49 name: SWT_GTK3
50 values:
51 - "0"
52 - "1"
53
54 wrappers:
55 - workspace-cleanup
56 - timestamps
57 - ansicolor
58 - xvfb:
59 installation-name: "default"
60 auto-display-name: true
61 parallel-build: false
62 screen: 1024x768x24
63 - timeout:
64 timeout: 120
65 fail: true
66 type: absolute
67
68 builders:
69 - shell:
70 !include-raw-escape: scripts/lttng-scope/launch-wm.sh
71 - maven-target:
72 maven-version: "default"
73 goals: "-version"
74 private-repository: true
75 - maven-target:
76 maven-version: "default"
77 goals: clean install -Dmaven.test.skip=false
78 private-repository: true
79 settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4'
80 properties:
81 - maven.test.failure.ignore=true
82 - eclipse.p2.mirrors=false
83
84 publishers:
85 - archive:
86 artifacts: 'releng/org.lttng.scope.rcp.product/target/repository/**,releng/org.lttng.scope.rcp.product/target/products/*'
87 allow-empty: false
88 only-if-success: true
89 - junit:
90 results: '**/target/surefire-reports/*.xml'
91 - workspace-cleanup
92 - email-ext:
93 recipients: alex@voxpopuli.im
94 matrix-trigger: only-parent
95 # - ircbot:
96 # strategy: new-failure-and-fixed
97 # matrix-notifier: only-parent
98 # channels:
99 # - name: '#lttng'
100
101
102 - job-template:
103 name: lttng-scope_{version}_winbuild
104 defaults: lttng-scope
105
106 project-type: matrix
107 node: 'master' # Applies only to matrix flyweight task
108 axes:
109 - axis:
110 type: slave
111 name: arch
112 values: '{obj:arch}'
113
114 scm:
115 - git:
116 url: git://github.com/{github_user}/{github_name}.git
117 browser: githubweb
118 browser-url: https://github.com/{github_user}/{github_name}
119 branches:
120 - origin/{version}
121 skip-tag: true
122 git-tool: 'jgit' # Use jgit on windows to work around path too long
123
124 wrappers:
125 - workspace-cleanup
126 - timestamps
127 - ansicolor
128 - timeout:
129 timeout: 120
130 fail: true
131 type: absolute
132
133 builders:
134 - maven-target:
135 maven-version: "default"
136 goals: clean install -Dmaven.test.skip=false
137 private-repository: true
138 settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4'
139 properties:
140 - maven.test.failure.ignore=true
141 - eclipse.p2.mirrors=false
142
143 publishers:
144 - archive:
145 artifacts: 'releng/org.lttng.scope.rcp.product/target/repository/**,releng/org.lttng.scope.rcp.product/target/products/*'
146 allow-empty: false
147 only-if-success: true
148 - junit:
149 results: '**/target/surefire-reports/*.xml'
150 - workspace-cleanup
151 - email-ext:
152 recipients: alex@voxpopuli.im
153 matrix-trigger: only-parent
154 # - ircbot:
155 # strategy: new-failure-and-fixed
156 # matrix-notifier: only-parent
157 # channels:
158 # - name: '#lttng'
159
160
161 - job-template:
162 name: lttng-scope_{version}_macosxbuild
163 defaults: lttng-scope
164
165 project-type: matrix
166 node: 'master' # Applies only to matrix flyweight task
167 axes:
168 - axis:
169 type: slave
170 name: arch
171 values: '{obj:arch}'
172
173 wrappers:
174 - workspace-cleanup
175 - timestamps
176 - ansicolor
177 - timeout:
178 timeout: 120
179 fail: true
180 type: absolute
181
182 builders:
183 - maven-target:
184 maven-version: "default"
185 goals: "-version"
186 private-repository: true
187 - maven-target:
188 maven-version: "default"
189 goals: clean install -Dmaven.test.skip=false
190 private-repository: true
191 settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4'
192 properties:
193 - maven.test.failure.ignore=true
194 - eclipse.p2.mirrors=false
195
196 publishers:
197 - archive:
198 artifacts: 'releng/org.lttng.scope.rcp.product/target/repository/**,releng/org.lttng.scope.rcp.product/target/products/*'
199 allow-empty: false
200 only-if-success: true
201 - junit:
202 results: '**/target/surefire-reports/*.xml'
203 - workspace-cleanup
204 - email-ext:
205 recipients: alex@voxpopuli.im
206 matrix-trigger: only-parent
207 # - ircbot:
208 # strategy: new-failure-and-fixed
209 # matrix-notifier: only-parent
210 # channels:
211 # - name: '#lttng'
212
213
214 ## Project
215 - project:
216 name: lttng-scope
217 github_user: lttng
218 github_name: lttng-scope
219 version:
220 - master
221 jobs:
222 - 'lttng-scope_{version}_build':
223 arch: !!python/tuple [x86-32, x86-64]
224
225 - 'lttng-scope_{version}_winbuild':
226 arch: !!python/tuple [win64]
227
228 - 'lttng-scope_{version}_macosxbuild':
229 arch: !!python/tuple [macosx]
230
This page took 0.061104 seconds and 5 git commands to generate.