1publishers:
2  - email-ext:
3      recipients: foo@example.com, bar@example.com
4      reply-to: foo@example.com
5      content-type: html
6      subject: Subject for Build ${BUILD_NUMBER}
7      body: The build has finished
8      attach-build-log: false
9      compress-log: false
10      attachments: "*/foo*.log"
11      always: true
12      unstable: true
13      first-failure: true
14      not-built: true
15      aborted: true
16      regression: true
17      failure: true
18      second-failure: true
19      improvement: true
20      still-failing: true
21      success: true
22      fixed: true
23      still-unstable: true
24      pre-build: true
25      trigger-script: "build.result.toString().equals('SUCCESS')"
26      matrix-trigger: only-configurations
27      presend-script: "cancel=true"
28      postsend-script: "cancel=true"
29      save-output: true
30      send-to:
31        - developers
32        - requester
33        - culprits
34        - recipients
35