-
Task
-
Resolution: Not A Defect
-
Major
-
None
-
Jenkins 2.32, Email-ext Plugin version 2.52, Git Client plugin 2.1.0, Git plugin 3.0.1
email-ext-plugin
This pipeline attempts to send some notifications when a build starts:
https://github.com/bitwiseman/hermann/tree/issue/developers-recipient-provider
The pipeline step looks like this:
emailext ( subject: "STARTED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'", body: """<p>STARTED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]':</p> <p>Check console output at "<a href='${env.BUILD_URL}'>${env.JOB_NAME} [${env.BUILD_NUMBER}]</a>"</p>""", recipientProviders: [[$class: 'DevelopersRecipientProvider']] )
This fails to send email. But it appears both of the following work:
emailext ( subject: "STARTED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'", body: """<p>STARTED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]':</p> <p>Check console output at "<a href='${env.BUILD_URL}'>${env.JOB_NAME} [${env.BUILD_NUMBER}]</a>"</p>""", recipientProviders: [[$class: 'RequesterRecipientProvider']] ) emailext ( to: 'bitwiseman@bitwiseman.com', subject: "STARTED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'", body: """<p>STARTED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]':</p> <p>Check console output at "<a href='${env.BUILD_URL}'>${env.JOB_NAME} [${env.BUILD_NUMBER}]</a>"</p>""", recipientProviders: [[$class: 'DevelopersRecipientProvider']] )
- relates to
-
JENKINS-39925 CulpritsRecipientProvider does not populate with all users who committed since the last non-broken build when the current build is successful i.e. emailing on a fixed build
- Closed