Add email notification to lttng-ust jobs
[lttng-ci.git] / jobs / libdelorean-java.yml
1 - defaults:
2 name: libdelorean-java-mvn
3 description: |
4 Nightly build of libdelorean 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: libdelorean-java
44 description: |
45 Nightly build of libdelorean 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: libdelorean-java_{version}_build
79 defaults: libdelorean-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 - job-template:
137 name: libdelorean-java_{version}_coverity
138 defaults: libdelorean-java
139 node: 'x86-64'
140
141 triggers:
142 - pollscm:
143 cron: "@daily"
144
145 wrappers:
146 - workspace-cleanup
147 - timestamps
148 - ansicolor:
149 colormap: xterm
150 - credentials-binding:
151 - username-password-separated:
152 credential-id: libdelorean-java_coverity_token
153 username: COVERITY_SCAN_PROJECT_NAME
154 password: COVERITY_SCAN_TOKEN
155
156 scm:
157 - git:
158 url: git://github.com/{github_user}/{github_name}.git
159 browser: githubweb
160 browser-url: https://github.com/{github_user}/{github_name}
161 branches:
162 - origin/{version}
163 skip-tag: true
164 basedir: src/libdelorean-java
165
166 builders:
167 - maven-target:
168 maven-version: "default"
169 goals: "-version"
170 private-repository: true
171 settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4'
172 - shell:
173 !include-raw-escape: scripts/common/coverity.sh
174
175 publishers:
176 - workspace-cleanup
177 - archive:
178 artifacts: 'analysis-results.tgz,cov-int/**'
179 allow-empty: false
180
181
182 ## Project
183 - project:
184 name: libdelorean-java
185 github_user: efficios
186 github_name: libdelorean-java
187 email_to: 'ci-notification@lists.lttng.org, cc:alexmonthy@efficios.com'
188 email_for_all_failure: 'alexmonthy@efficios.com'
189 version:
190 - master
191 jobs:
192 - 'libdelorean-java_{version}_build'
193 - 'libdelorean-java_{version}_coverity':
194 version: master
This page took 0.033279 seconds and 4 git commands to generate.