Remove Jenkins failure notifications (#958)

Remove Jenkins failure notifications
main
Ibtehaj Nadeem 5 years ago committed by GitHub
parent aeaf1bcdbe
commit 1ffcfa07e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -578,14 +578,12 @@ finally {
)
}
node('controller') {
emailRecipients = [[$class: 'RequesterRecipientProvider']]
if (env.WATCHED_BRANCHES.tokenize(',').contains(branchName)) {
emailRecipients.add([$class: 'CulpritsRecipientProvider'])
}
step([
$class: 'Mailer',
notifyEveryUnstableBuild: true,
recipients: emailextrecipients(emailRecipients)
$class: 'Mailer',
notifyEveryUnstableBuild: true,
recipients: emailextrecipients([
[$class: 'RequesterRecipientProvider']
])
])
}
} catch(Exception e) {

Loading…
Cancel
Save