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