Commit | Line | Data |
---|---|---|
61c809bd | 1 | - defaults: |
e3f027ec | 2 | name: jabberwocky-mvn |
61c809bd MJ |
3 | description: | |
4 | Nightly build of Jabberwocky. | |
5 | ||
6 | <p>Job is managed by Jenkins Job Builder.</p> | |
7 | ||
8 | project-type: maven | |
9 | ||
10 | maven: | |
11 | goals: 'clean install' | |
12 | private-repository: 'local-to-workspace' | |
13 | automatic-fingerprinting: false | |
14 | per-module-email: false | |
15 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' | |
16 | settings-type: cfp | |
17 | ||
18 | wrappers: | |
19 | - workspace-cleanup | |
20 | - timestamps | |
21 | - ansicolor | |
b691be9d MJ |
22 | - xvfb: |
23 | installation-name: "default" | |
24 | auto-display-name: true | |
25 | parallel-build: false | |
26 | screen: 1024x768x24 | |
27 | - timeout: | |
28 | timeout: 60 | |
29 | fail: true | |
30 | type: absolute | |
61c809bd MJ |
31 | |
32 | scm: | |
33 | - git: | |
b691be9d MJ |
34 | url: https://gitlab.com/{gitlab_user}/{gitlab_project}.git |
35 | browser: gitlab | |
36 | browser-url: https://gitlab.com/{gitlab_user}/{gitlab_project} | |
61c809bd MJ |
37 | branches: |
38 | - origin/{version} | |
39 | skip-tag: true | |
40 | ||
41 | triggers: | |
42 | - pollscm: | |
43 | cron: "@hourly" | |
6be67ce2 | 44 | - timed: "@daily" |
61c809bd MJ |
45 | |
46 | properties: | |
47 | - build-discarder: | |
48 | num-to-keep: 2 | |
61c809bd | 49 | |
e3f027ec MJ |
50 | - defaults: |
51 | name: jabberwocky | |
52 | description: | | |
53 | Nightly build of Jabberwocky. | |
54 | ||
55 | <p>Job is managed by Jenkins Job Builder.</p> | |
56 | ||
57 | project-type: freestyle | |
58 | ||
59 | wrappers: | |
60 | - workspace-cleanup | |
61 | - timestamps | |
62 | - ansicolor | |
63 | ||
64 | scm: | |
65 | - git: | |
b691be9d MJ |
66 | url: hhtps://gitlab.com/{gitlab_user}/{gitlab_project}.git |
67 | browser: gitlab | |
68 | browser-url: https://gitlab.com/{gitlab_user}/{gitlab_project} | |
e3f027ec MJ |
69 | branches: |
70 | - origin/{version} | |
71 | skip-tag: true | |
72 | ||
73 | triggers: | |
74 | - pollscm: | |
75 | cron: "@hourly" | |
6be67ce2 | 76 | - timed: "@daily" |
e3f027ec MJ |
77 | |
78 | properties: | |
79 | - build-discarder: | |
80 | num-to-keep: 2 | |
e3f027ec | 81 | |
61c809bd MJ |
82 | |
83 | ## Templates | |
84 | - job-template: | |
85 | name: jabberwocky_{version}_build | |
e3f027ec | 86 | defaults: jabberwocky-mvn |
61c809bd MJ |
87 | |
88 | publishers: | |
89 | - warnings: | |
90 | console-log-parsers: | |
91 | - 'Maven' | |
92 | total-thresholds: | |
93 | unstable: | |
94 | total-all: 0 | |
95 | total-high: 0 | |
96 | total-normal: 0 | |
97 | total-low: 0 | |
d2d979a6 MJ |
98 | messages-to-ignore: |- |
99 | No sources found skipping Kotlin compile | |
100 | Ignoring project type pom - supportedProjectTypes = \[jar, bundle\] | |
101 | ^Tests run:.* | |
ad947ee7 MJ |
102 | .*Source root doesn't exist.* |
103 | Could not transfer metadata.*codehaus-snapshots.* | |
61c809bd MJ |
104 | - workspace-cleanup |
105 | - email-ext: | |
d5af10e3 JR |
106 | recipients: '{obj:email_for_all_failure}' |
107 | always: false | |
108 | unstable: true | |
109 | first-failure: false | |
110 | first-unstable: false | |
111 | not-built: false | |
112 | aborted: false | |
113 | regression: false | |
114 | failure: true | |
115 | second-failure: false | |
116 | improvement: false | |
117 | still-failing: false | |
118 | success: false | |
119 | fixed: false | |
120 | fixed-unhealthy: true | |
121 | still-unstable: false | |
122 | pre-build: false | |
123 | matrix-trigger: only-parent | |
124 | send-to: | |
125 | - recipients | |
126 | - email-ext: | |
127 | recipients: '{obj:email_to}' | |
128 | reply-to: ci-notification@lists.lttng.org | |
129 | always: false | |
130 | unstable: false | |
131 | first-failure: true | |
132 | first-unstable: true | |
133 | not-built: false | |
134 | aborted: false | |
135 | regression: false | |
136 | failure: false | |
137 | second-failure: false | |
138 | improvement: false | |
139 | still-failing: false | |
140 | success: false | |
141 | fixed: false | |
142 | fixed-unhealthy: true | |
143 | still-unstable: false | |
144 | pre-build: false | |
145 | matrix-trigger: only-parent | |
146 | send-to: | |
147 | - recipients | |
61c809bd | 148 | |
e3f027ec MJ |
149 | - job-template: |
150 | name: jabberwocky_{version}_coverity | |
151 | defaults: jabberwocky | |
152 | node: 'x86-64' | |
153 | ||
154 | triggers: | |
155 | - pollscm: | |
156 | cron: "@daily" | |
157 | ||
158 | wrappers: | |
159 | - workspace-cleanup | |
160 | - timestamps | |
161 | - ansicolor: | |
162 | colormap: xterm | |
163 | - credentials-binding: | |
164 | - username-password-separated: | |
165 | credential-id: jabberwocky_coverity_token | |
166 | username: COVERITY_SCAN_PROJECT_NAME | |
167 | password: COVERITY_SCAN_TOKEN | |
168 | ||
169 | scm: | |
170 | - git: | |
b691be9d MJ |
171 | url: https://gitlab.com/{gitlab_user}/{gitlab_project}.git |
172 | browser: gitlab | |
173 | browser-url: https://gitlab.com/{gitlab_user}/{gitlab_project} | |
e3f027ec MJ |
174 | branches: |
175 | - origin/{version} | |
176 | skip-tag: true | |
177 | basedir: src/jabberwocky | |
178 | ||
179 | builders: | |
180 | - maven-target: | |
181 | maven-version: "default" | |
182 | goals: "-version" | |
183 | private-repository: true | |
184 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' | |
185 | - shell: | |
186 | !include-raw-escape: scripts/common/coverity.sh | |
187 | ||
188 | publishers: | |
189 | - workspace-cleanup | |
190 | - archive: | |
191 | artifacts: 'analysis-results.tgz,cov-int/**' | |
192 | allow-empty: false | |
193 | ||
194 | ||
61c809bd MJ |
195 | ## Project |
196 | - project: | |
197 | name: jabberwocky | |
b691be9d MJ |
198 | gitlab_user: lttng |
199 | gitlab_project: lttng-scope/jabberwocky | |
d5af10e3 JR |
200 | email_to: 'ci-notification@lists.lttng.org, cc:alexmonthy@efficios.com' |
201 | email_for_all_failure: 'alexmonthy@efficios.com' | |
61c809bd MJ |
202 | version: |
203 | - master | |
204 | jobs: | |
205 | - 'jabberwocky_{version}_build' | |
e3f027ec MJ |
206 | - 'jabberwocky_{version}_coverity': |
207 | version: master |