Commit | Line | Data |
---|---|---|
984bd70b | 1 | - defaults: |
e3f027ec | 2 | name: ctf-java-mvn |
984bd70b MJ |
3 | description: | |
4 | Nightly build of CTF Java. | |
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 | |
22 | ||
23 | scm: | |
24 | - git: | |
25 | url: git://github.com/{github_user}/{github_name}.git | |
26 | browser: githubweb | |
27 | browser-url: https://github.com/{github_user}/{github_name} | |
28 | branches: | |
29 | - origin/{version} | |
30 | skip-tag: true | |
31 | ||
32 | triggers: | |
33 | - pollscm: | |
34 | cron: "@hourly" | |
1a8b8c93 | 35 | - timed: "@daily" |
984bd70b MJ |
36 | |
37 | properties: | |
38 | - build-discarder: | |
39 | num-to-keep: 2 | |
40 | - github: | |
41 | url: https://github.com/{github_user}/{github_name} | |
42 | ||
e3f027ec MJ |
43 | - defaults: |
44 | name: ctf-java | |
45 | description: | | |
46 | Nightly build of CTF Java. | |
47 | ||
48 | <p>Job is managed by Jenkins Job Builder.</p> | |
49 | ||
50 | project-type: freestyle | |
51 | ||
52 | wrappers: | |
53 | - workspace-cleanup | |
54 | - timestamps | |
55 | - ansicolor | |
56 | ||
57 | scm: | |
58 | - git: | |
59 | url: git://github.com/{github_user}/{github_name}.git | |
60 | browser: githubweb | |
61 | browser-url: https://github.com/{github_user}/{github_name} | |
62 | branches: | |
63 | - origin/{version} | |
64 | skip-tag: true | |
65 | ||
66 | triggers: | |
67 | - pollscm: | |
68 | cron: "@hourly" | |
69 | ||
70 | properties: | |
71 | - build-discarder: | |
72 | num-to-keep: 2 | |
73 | - github: | |
74 | url: https://github.com/{github_user}/{github_name} | |
75 | ||
984bd70b MJ |
76 | |
77 | ## Templates | |
78 | - job-template: | |
79 | name: ctf-java_{version}_build | |
e3f027ec | 80 | defaults: ctf-java-mvn |
984bd70b MJ |
81 | |
82 | publishers: | |
83 | - warnings: | |
84 | console-log-parsers: | |
85 | - 'Maven' | |
86 | total-thresholds: | |
87 | unstable: | |
88 | total-all: 0 | |
89 | total-high: 0 | |
90 | total-normal: 0 | |
91 | total-low: 0 | |
92 | - workspace-cleanup | |
93 | - email-ext: | |
42c2668c JR |
94 | recipients: '{obj:email_for_all_failure}' |
95 | always: false | |
96 | unstable: true | |
97 | first-failure: false | |
98 | first-unstable: false | |
99 | not-built: false | |
100 | aborted: false | |
101 | regression: false | |
102 | failure: true | |
103 | second-failure: false | |
104 | improvement: false | |
105 | still-failing: false | |
106 | success: false | |
107 | fixed: false | |
108 | fixed-unhealthy: true | |
109 | still-unstable: false | |
110 | pre-build: false | |
111 | matrix-trigger: only-parent | |
112 | send-to: | |
113 | - recipients | |
114 | - email-ext: | |
115 | recipients: '{obj:email_to}' | |
116 | reply-to: ci-notification@lists.lttng.org | |
117 | always: false | |
118 | unstable: false | |
119 | first-failure: true | |
120 | first-unstable: true | |
121 | not-built: false | |
122 | aborted: false | |
123 | regression: false | |
124 | failure: false | |
125 | second-failure: false | |
126 | improvement: false | |
127 | still-failing: false | |
128 | success: false | |
129 | fixed: false | |
130 | fixed-unhealthy: true | |
131 | still-unstable: false | |
132 | pre-build: false | |
133 | matrix-trigger: only-parent | |
134 | send-to: | |
135 | - recipients | |
136 | ||
984bd70b | 137 | |
e3f027ec MJ |
138 | - job-template: |
139 | name: ctf-java_{version}_coverity | |
140 | defaults: ctf-java | |
141 | node: 'x86-64' | |
142 | ||
143 | triggers: | |
144 | - pollscm: | |
145 | cron: "@daily" | |
146 | ||
147 | wrappers: | |
148 | - workspace-cleanup | |
149 | - timestamps | |
150 | - ansicolor: | |
151 | colormap: xterm | |
152 | - credentials-binding: | |
153 | - username-password-separated: | |
154 | credential-id: ctf-java_coverity_token | |
155 | username: COVERITY_SCAN_PROJECT_NAME | |
156 | password: COVERITY_SCAN_TOKEN | |
157 | ||
158 | scm: | |
159 | - git: | |
160 | url: git://github.com/{github_user}/{github_name}.git | |
161 | browser: githubweb | |
162 | browser-url: https://github.com/{github_user}/{github_name} | |
163 | branches: | |
164 | - origin/{version} | |
165 | skip-tag: true | |
166 | basedir: src/ctf-java | |
167 | ||
168 | builders: | |
169 | - maven-target: | |
170 | maven-version: "default" | |
171 | goals: "-version" | |
172 | private-repository: true | |
173 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' | |
174 | - shell: | |
175 | !include-raw-escape: scripts/common/coverity.sh | |
176 | ||
177 | publishers: | |
178 | - workspace-cleanup | |
179 | - archive: | |
180 | artifacts: 'analysis-results.tgz,cov-int/**' | |
181 | allow-empty: false | |
182 | ||
183 | ||
984bd70b MJ |
184 | ## Project |
185 | - project: | |
186 | name: ctf-java | |
187 | github_user: efficios | |
188 | github_name: ctf-java | |
42c2668c JR |
189 | email_to: 'ci-notification@lists.lttng.org, cc:alexmonthy@efficios.com' |
190 | email_for_all_failure: 'alexmonthy@efficios.com' | |
984bd70b MJ |
191 | version: |
192 | - master | |
193 | jobs: | |
194 | - 'ctf-java_{version}_build' | |
e3f027ec MJ |
195 | - 'ctf-java_{version}_coverity': |
196 | version: master |