jjb: Add warnings filtering to scope jobs
[lttng-ci.git] / jobs / ctf-java.yml
CommitLineData
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
d2d979a6
MJ
92 messages-to-ignore: |-
93 No sources found skipping Kotlin compile
94 Ignoring project type pom - supportedProjectTypes = \[jar, bundle\]
95 ^Tests run:.*
984bd70b
MJ
96 - workspace-cleanup
97 - email-ext:
42c2668c
JR
98 recipients: '{obj:email_for_all_failure}'
99 always: false
100 unstable: true
101 first-failure: false
102 first-unstable: false
103 not-built: false
104 aborted: false
105 regression: false
106 failure: true
107 second-failure: false
108 improvement: false
109 still-failing: false
110 success: false
111 fixed: false
112 fixed-unhealthy: true
113 still-unstable: false
114 pre-build: false
115 matrix-trigger: only-parent
116 send-to:
117 - recipients
118 - email-ext:
119 recipients: '{obj:email_to}'
120 reply-to: ci-notification@lists.lttng.org
121 always: false
122 unstable: false
123 first-failure: true
124 first-unstable: true
125 not-built: false
126 aborted: false
127 regression: false
128 failure: false
129 second-failure: false
130 improvement: false
131 still-failing: false
132 success: false
133 fixed: false
134 fixed-unhealthy: true
135 still-unstable: false
136 pre-build: false
137 matrix-trigger: only-parent
138 send-to:
139 - recipients
140
984bd70b 141
e3f027ec
MJ
142- job-template:
143 name: ctf-java_{version}_coverity
144 defaults: ctf-java
145 node: 'x86-64'
146
147 triggers:
148 - pollscm:
149 cron: "@daily"
150
151 wrappers:
152 - workspace-cleanup
153 - timestamps
154 - ansicolor:
155 colormap: xterm
156 - credentials-binding:
157 - username-password-separated:
158 credential-id: ctf-java_coverity_token
159 username: COVERITY_SCAN_PROJECT_NAME
160 password: COVERITY_SCAN_TOKEN
161
162 scm:
163 - git:
164 url: git://github.com/{github_user}/{github_name}.git
165 browser: githubweb
166 browser-url: https://github.com/{github_user}/{github_name}
167 branches:
168 - origin/{version}
169 skip-tag: true
170 basedir: src/ctf-java
171
172 builders:
173 - maven-target:
174 maven-version: "default"
175 goals: "-version"
176 private-repository: true
177 settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4'
178 - shell:
179 !include-raw-escape: scripts/common/coverity.sh
180
181 publishers:
182 - workspace-cleanup
183 - archive:
184 artifacts: 'analysis-results.tgz,cov-int/**'
185 allow-empty: false
186
187
984bd70b
MJ
188## Project
189- project:
190 name: ctf-java
191 github_user: efficios
192 github_name: ctf-java
42c2668c
JR
193 email_to: 'ci-notification@lists.lttng.org, cc:alexmonthy@efficios.com'
194 email_for_all_failure: 'alexmonthy@efficios.com'
984bd70b
MJ
195 version:
196 - master
197 jobs:
198 - 'ctf-java_{version}_build'
e3f027ec
MJ
199 - 'ctf-java_{version}_coverity':
200 version: master
This page took 0.03046 seconds and 4 git commands to generate.