Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 1102012

Browse files
authored
Merge pull request #8024 from mmitche/remove-email-1.0
Remove email publishing calls
2 parents 57989c4 + 10ee794 commit 1102012

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

netci.groovy

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -258,17 +258,6 @@ def static getJobName(def configuration, def architecture, def os, def scenario,
258258
return baseName + suffix
259259
}
260260

261-
static void addEmailPublisher(def job, def recipient) {
262-
job.with {
263-
publishers {
264-
extendedEmail(recipient, '$DEFAULT_SUBJECT', '$DEFAULT_CONTENT') {
265-
trigger('Aborted', '$PROJECT_DEFAULT_SUBJECT', '$PROJECT_DEFAULT_CONTENT', null, true, true, true, true)
266-
trigger('Failure', '$PROJECT_DEFAULT_SUBJECT', '$PROJECT_DEFAULT_CONTENT', null, true, true, true, true)
267-
}
268-
}
269-
}
270-
}
271-
272261
// **************************
273262
// Define the basic inner loop builds for PR and commit. This is basically just the set
274263
// of coreclr builds over linux/osx/freebsd/windows and debug/release/checked. In addition, the windows
@@ -304,7 +293,8 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
304293
case 'arm64':
305294
if (os == 'Windows_NT') {
306295
Utilities.addGithubPushTrigger(job)
307-
addEmailPublisher(job, '[email protected]')
296+
// TODO: Add once external email sending is available again
297+
// addEmailPublisher(job, '[email protected]')
308298
}
309299
break
310300
default:
@@ -395,14 +385,16 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
395385
assert configuration == 'Release'
396386
assert architecture == 'x64'
397387
Utilities.addPeriodicTrigger(job, '@daily')
398-
addEmailPublisher(job, '[email protected]')
388+
// TODO: Add once external email sending is available again
389+
// addEmailPublisher(job, '[email protected]')
399390
break
400391
case 'gcsimulator':
401392
assert (os == 'Ubuntu' || os == 'Windows_NT' || os == 'OSX')
402393
assert configuration == 'Release'
403394
assert architecture == 'x64'
404395
Utilities.addPeriodicTrigger(job, 'H H * * 3,6') // some time every Wednesday and Saturday
405-
addEmailPublisher(job, '[email protected]')
396+
// TODO: Add once external email sending is available again
397+
// addEmailPublisher(job, '[email protected]')
406398
break
407399
case 'ilrt':
408400
assert !(os in bidailyCrossList)
@@ -2115,7 +2107,8 @@ combinedScenarios.each { scenario ->
21152107
if (scenario == 'coverage') {
21162108
// Publish coverage reports
21172109
Utilities.addHtmlPublisher(newJob, '${WORKSPACE}/coverage', 'Code Coverage Report', 'coreclr.html')
2118-
addEmailPublisher(newJob, '[email protected]')
2110+
// TODO: Add once external email sending is available again
2111+
// addEmailPublisher(newJob, '[email protected]')
21192112
}
21202113

21212114
setMachineAffinity(newJob, os, architecture)

0 commit comments

Comments
 (0)