提交 5e433c83 编写于 作者: J Jared Parsons 提交者: GitHub

Merge pull request #15084 from mmitche/email-pub-removal-master

Remove email publishing calls
......@@ -10,19 +10,6 @@ def branchName = GithubBranchName
// Folder that the project jobs reside in (project/branch)
def projectFoldername = Utilities.getFolderName(projectName) + '/' + Utilities.getFolderName(branchName)
// Email the results of aborted / failed jobs to our infrastructure alias
static void addEmailPublisher(def myJob) {
myJob.with {
publishers {
extendedEmail('mlinfraswat@microsoft.com', '$DEFAULT_SUBJECT', '$DEFAULT_CONTENT') {
// trigger(trigger name, subject, body, recipient list, send to developers, send to requester, include culprits, send to recipient list)
trigger('Aborted', '$PROJECT_DEFAULT_SUBJECT', '$PROJECT_DEFAULT_CONTENT', null, false, false, false, true)
trigger('Failure', '$PROJECT_DEFAULT_SUBJECT', '$PROJECT_DEFAULT_CONTENT', null, false, false, false, true)
}
}
}
}
// Calls a web hook on Jenkins build events. Allows our build monitoring jobs to be push notified
// vs. polling
static void addBuildEventWebHook(def myJob) {
......@@ -68,7 +55,8 @@ static void addRoslynJob(def myJob, String jobName, String branchName, Boolean i
Utilities.addGithubPRTriggerForBranch(myJob, branchName, contextName, triggerPhrase, triggerPhraseOnly)
} else {
Utilities.addGithubPushTrigger(myJob)
addEmailPublisher(myJob)
// TODO: Add once external email sending is available again
// addEmailPublisher(myJob)
}
addBuildEventWebHook(myJob)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册