Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
tisto committed Dec 22, 2020
1 parent 8ce1605 commit c10a20d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.rst
Expand Up @@ -365,6 +365,15 @@ Send email notifications::
attachLog: true,
)

Send email notifications to build requester and/or committers since last successful build::

emailext (
subject: "FAILURE: #${env.BUILD_NUMBER} ${env.JOB_NAME}",
body: "Hey, it seems one of your recent commits broke the build, please check ${env.BUILD_URL}.",
attachLog: true,
recipientProviders: [[$class: 'RequesterRecipientProvider'], [$class:'CulpritsRecipientProvider']]
)
Requires `Email-ext Plugin <https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin>`_.

Slack Notifications
Expand Down

0 comments on commit c10a20d

Please sign in to comment.