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') { node('controller') {
emailRecipients = [[$class: 'RequesterRecipientProvider']]
if (env.WATCHED_BRANCHES.tokenize(',').contains(branchName)) {
emailRecipients.add([$class: 'CulpritsRecipientProvider'])
}
step([ step([
$class: 'Mailer', $class: 'Mailer',
notifyEveryUnstableBuild: true, notifyEveryUnstableBuild: true,
recipients: emailextrecipients(emailRecipients) recipients: emailextrecipients([
[$class: 'RequesterRecipientProvider']
])
]) ])
} }
} catch(Exception e) { } catch(Exception e) {

Loading…
Cancel
Save