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

Commit 22119f9

Browse files
authored
Merge pull request #8025 from mmitche/remove-email-pub-110
Remove email publishing calls
2 parents bbcbd76 + 43bab9a commit 22119f9

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

netci.groovy

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -282,17 +282,6 @@ def static getJobName(def configuration, def architecture, def os, def scenario,
282282
return baseName + suffix
283283
}
284284

285-
static void addEmailPublisher(def job, def recipient) {
286-
job.with {
287-
publishers {
288-
extendedEmail(recipient, '$DEFAULT_SUBJECT', '$DEFAULT_CONTENT') {
289-
trigger('Aborted', '$PROJECT_DEFAULT_SUBJECT', '$PROJECT_DEFAULT_CONTENT', null, true, true, true, true)
290-
trigger('Failure', '$PROJECT_DEFAULT_SUBJECT', '$PROJECT_DEFAULT_CONTENT', null, true, true, true, true)
291-
}
292-
}
293-
}
294-
}
295-
296285
// **************************
297286
// Define the basic inner loop builds for PR and commit. This is basically just the set
298287
// of coreclr builds over linux/osx/freebsd/windows and debug/release/checked. In addition, the windows
@@ -328,7 +317,8 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
328317
case 'arm64':
329318
if (os == 'Windows_NT') {
330319
Utilities.addGithubPushTrigger(job)
331-
addEmailPublisher(job, '[email protected]')
320+
// TODO: Add once external email sending is available again
321+
// addEmailPublisher(job, '[email protected]')
332322
}
333323
break
334324
default:
@@ -385,7 +375,8 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
385375
else if (architecture == 'arm64') {
386376
if (os == 'Windows_NT') {
387377
Utilities.addPeriodicTrigger(job, 'H H/12 * * *')
388-
addEmailPublisher(job, '[email protected]')
378+
// TODO: Add once external email sending is available again
379+
// addEmailPublisher(job, '[email protected]')
389380
}
390381
}
391382
}
@@ -432,14 +423,16 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
432423
assert configuration == 'Release'
433424
assert architecture == 'x64'
434425
Utilities.addPeriodicTrigger(job, '@daily')
435-
addEmailPublisher(job, '[email protected]')
426+
// TODO: Add once external email sending is available again
427+
// addEmailPublisher(job, '[email protected]')
436428
break
437429
case 'gcsimulator':
438430
assert (os == 'Ubuntu' || os == 'Windows_NT' || os == 'OSX')
439431
assert configuration == 'Release'
440432
assert architecture == 'x64'
441433
Utilities.addPeriodicTrigger(job, 'H H * * 3,6') // some time every Wednesday and Saturday
442-
addEmailPublisher(job, '[email protected]')
434+
// TODO: Add once external email sending is available again
435+
// addEmailPublisher(job, '[email protected]')
443436
break
444437
case 'ilrt':
445438
assert !(os in bidailyCrossList)
@@ -505,7 +498,8 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
505498
if (architecture == 'arm64') {
506499
assert (os == 'Windows_NT')
507500
Utilities.addPeriodicTrigger(job, '@daily')
508-
addEmailPublisher(job, '[email protected]')
501+
// TODO: Add once external email sending is available again
502+
// addEmailPublisher(job, '[email protected]')
509503
}
510504
else {
511505
Utilities.addPeriodicTrigger(job, '@weekly')
@@ -526,6 +520,7 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
526520
assert (os == 'Windows_NT')
527521
// TODO: Enable a periodic trigger after tests are updated.
528522
// Utilities.addPeriodicTrigger(job, '@daily')
523+
// TODO: Add once external email sending is available again
529524
// addEmailPublisher(job, '[email protected]')
530525
}
531526
else {
@@ -2499,7 +2494,8 @@ combinedScenarios.each { scenario ->
24992494
if (scenario == 'coverage') {
25002495
// Publish coverage reports
25012496
Utilities.addHtmlPublisher(newJob, '${WORKSPACE}/coverage/Coverage/reports', 'Code Coverage Report', 'coreclr.html')
2502-
addEmailPublisher(newJob, '[email protected]')
2497+
// TODO: Add once external email sending is available again
2498+
// addEmailPublisher(newJob, '[email protected]')
25032499
}
25042500

25052501
// Experimental: If on Ubuntu 14.04, then attempt to pull in crash dump links

0 commit comments

Comments
 (0)