Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ci
Path: blob/main/jjb/git-mail-notify.yaml
1130 views
1
# Failure
2
- publisher:
3
name: git-mail-notify-failure
4
publishers:
5
- git-mail-notify-failure-custom:
6
freebsd_mail_disable: false
7
freebsd_send_to:
8
- developers
9
- recipients
10
freebsd_recipients: ${{DEFAULT_RECIPIENTS}}
11
- publisher:
12
name: git-mail-notify-failure-mailinglist
13
publishers:
14
- git-mail-notify-failure-custom:
15
freebsd_mail_disable: false
16
freebsd_send_to:
17
- developers
18
- recipients
19
freebsd_recipients: ${{DEFAULT_RECIPIENTS}}, dev-ci@FreeBSD.org
20
- publisher:
21
name: git-mail-notify-failure-developers-only
22
publishers:
23
- git-mail-notify-failure-custom:
24
freebsd_mail_disable: false
25
freebsd_send_to:
26
- developers
27
- recipients
28
freebsd_recipients: ${{DEFAULT_RECIPIENTS}}
29
- publisher:
30
name: git-mail-notify-failure-admin-only
31
publishers:
32
- git-mail-notify-failure-custom:
33
freebsd_mail_disable: false
34
freebsd_send_to:
35
- recipients
36
freebsd_recipients: ${{DEFAULT_RECIPIENTS}}
37
- publisher:
38
name: git-mail-notify-failure-doc
39
publishers:
40
- git-mail-notify-failure-custom:
41
freebsd_mail_disable: false
42
freebsd_send_to:
43
- developers
44
- recipients
45
freebsd_recipients: ${{DEFAULT_RECIPIENTS}}, doceng@FreeBSD.org
46
- publisher:
47
name: git-mail-notify-failure-custom
48
publishers:
49
- email-ext:
50
recipients: '{obj:freebsd_recipients}'
51
subject: "$PROJECT_NAME - Build #$BUILD_NUMBER - $BUILD_STATUS"
52
body: |
53
$PROJECT_NAME - Build #$BUILD_NUMBER (${{ENV, var="GIT_COMMIT"}}) - $BUILD_STATUS
54
55
Build information: ${{BUILD_URL}}
56
Full change log: ${{BUILD_URL}}changes
57
Full build log: ${{BUILD_URL}}console
58
59
Status explanation:
60
"Failure" - the build is suspected being broken by the following changes
61
"Still Failing" - the build has not been fixed by the following changes and
62
this is a notification to note that these changes have
63
not been fully tested by the CI system
64
65
Change summaries:
66
(Those commits are likely but not certainly responsible)
67
68
${{CHANGES, format="%r by %a:\\n%m\\n"}}
69
70
The end of the build log:
71
72
${{BUILD_LOG}}
73
failure: true
74
unstable: false
75
fixed: false
76
presend-script: ${{DEFAULT_PRESEND_SCRIPT}}
77
send-to: '{obj:freebsd_send_to}'
78
disable-publisher: '{obj:freebsd_mail_disable}'
79
80
# Unstable
81
- publisher:
82
name: git-mail-notify-unstable
83
publishers:
84
- git-mail-notify-unstable-custom:
85
freebsd_mail_disable: false
86
freebsd_send_to:
87
- developers
88
- recipients
89
freebsd_recipients: ${{DEFAULT_RECIPIENTS}}
90
- publisher:
91
name: git-mail-notify-unstable-mailinglist
92
publishers:
93
- git-mail-notify-unstable-custom:
94
freebsd_mail_disable: false
95
freebsd_send_to:
96
- developers
97
- recipients
98
freebsd_recipients: ${{DEFAULT_RECIPIENTS}}, dev-ci@FreeBSD.org
99
- publisher:
100
name: git-mail-notify-unstable-developers-only
101
publishers:
102
- git-mail-notify-unstable-custom:
103
freebsd_mail_disable: false
104
freebsd_send_to:
105
- developers
106
- recipients
107
freebsd_recipients: ${{DEFAULT_RECIPIENTS}}
108
- publisher:
109
name: git-mail-notify-unstable-admin-only
110
publishers:
111
- git-mail-notify-unstable-custom:
112
freebsd_mail_disable: false
113
freebsd_send_to:
114
- recipients
115
freebsd_recipients: ${{DEFAULT_RECIPIENTS}}
116
- publisher:
117
name: git-mail-notify-unstable-doc
118
publishers:
119
- git-mail-notify-unstable-custom:
120
freebsd_mail_disable: false
121
freebsd_send_to:
122
- developers
123
- recipients
124
freebsd_recipients: ${{DEFAULT_RECIPIENTS}}, doceng@FreeBSD.org
125
- publisher:
126
name: git-mail-notify-unstable-custom
127
publishers:
128
- email-ext:
129
recipients: '{obj:freebsd_recipients}'
130
subject: "$PROJECT_NAME - Build #$BUILD_NUMBER - $BUILD_STATUS"
131
body: |
132
$PROJECT_NAME - Build #$BUILD_NUMBER (${{ENV, var="GIT_COMMIT"}}) - $BUILD_STATUS
133
134
Build information: ${{BUILD_URL}}
135
Full change log: ${{BUILD_URL}}changes
136
Full build log: ${{BUILD_URL}}console
137
138
Status explanation:
139
"Unstable" - some tests are suspected being broken by the following changes
140
"Still Unstable" - the failing test cases have not been fixed by these
141
following changes and this is a notification to note that
142
these changes have not been fully tested by the CI system
143
144
Change summaries:
145
(Those commits are likely but not certainly responsible)
146
147
${{CHANGES, format="%r by %a:\\n%m\\n"}}
148
149
The failed test cases:
150
151
${{FAILED_TESTS, showStack="false", showMessage="true", maxTests=100}}
152
failure: false
153
unstable: true
154
fixed: false
155
presend-script: ${{DEFAULT_PRESEND_SCRIPT}}
156
send-to: '{obj:freebsd_send_to}'
157
disable-publisher: '{obj:freebsd_mail_disable}'
158
159
# Fixed
160
- publisher:
161
name: git-mail-notify-fixed
162
publishers:
163
- git-mail-notify-fixed-custom:
164
freebsd_mail_disable: false
165
freebsd_send_to:
166
#- culprits
167
- recipients
168
freebsd_recipients: ${{DEFAULT_RECIPIENTS}}
169
- publisher:
170
name: git-mail-notify-fixed-mailinglist
171
publishers:
172
- git-mail-notify-fixed-custom:
173
freebsd_mail_disable: false
174
freebsd_send_to:
175
#- culprits
176
- recipients
177
freebsd_recipients: ${{DEFAULT_RECIPIENTS}}, dev-ci@FreeBSD.org
178
- publisher:
179
name: git-mail-notify-fixed-admin-only
180
publishers:
181
- git-mail-notify-fixed-custom:
182
freebsd_mail_disable: false
183
freebsd_send_to:
184
- recipients
185
freebsd_recipients: ${{DEFAULT_RECIPIENTS}}
186
- publisher:
187
name: git-mail-notify-fixed-doc
188
publishers:
189
- git-mail-notify-fixed-custom:
190
freebsd_mail_disable: false
191
freebsd_send_to:
192
#- culprits
193
- recipients
194
freebsd_recipients: ${{DEFAULT_RECIPIENTS}}, doceng@FreeBSD.org
195
- publisher:
196
name: git-mail-notify-fixed-custom
197
publishers:
198
- email-ext:
199
recipients: '{obj:freebsd_recipients}'
200
subject: "$PROJECT_NAME - Build #$BUILD_NUMBER - $BUILD_STATUS"
201
body: |
202
$PROJECT_NAME - Build #$BUILD_NUMBER (${{ENV, var="GIT_COMMIT"}}) - $BUILD_STATUS
203
204
Build information: ${{BUILD_URL}}
205
Full change log: ${{BUILD_URL}}changes
206
Full build log: ${{BUILD_URL}}console
207
208
Change summaries:
209
(Those commits are likely but not certainly responsible)
210
211
${{CHANGES, format="%r by %a:\\n%m\\n"}}
212
failure: false
213
unstable: false
214
fixed: true
215
presend-script: ${{DEFAULT_PRESEND_SCRIPT}}
216
send-to: '{obj:freebsd_send_to}'
217
disable-publisher: '{obj:freebsd_mail_disable}'
218
219