Skip to content

Commit

Permalink
Merge pull request #790 from apache/feature/jenkins-notifications-list
Browse files Browse the repository at this point in the history
Send Jenkins notifications to the notifications@ list
  • Loading branch information
lukaszlenart authored Nov 13, 2023
2 parents 30aee93 + 2188d11 commit ea856e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ pipeline {
failure {
script {
emailext(
to: "commits@struts.apache.org",
to: "notifications@struts.apache.org",
recipientProviders: [[$class: 'DevelopersRecipientProvider']],
from: "Mr. Jenkins <[email protected]>",
subject: "Jenkins job ${env.JOB_NAME}#${env.BUILD_NUMBER} failed",
Expand All @@ -212,7 +212,7 @@ Director of Continuous Integration
unstable {
script {
emailext(
to: "commits@struts.apache.org",
to: "notifications@struts.apache.org",
recipientProviders: [[$class: 'DevelopersRecipientProvider']],
from: "Mr. Jenkins <[email protected]>",
subject: "Jenkins job ${env.JOB_NAME}#${env.BUILD_NUMBER} unstable",
Expand All @@ -235,7 +235,7 @@ Director of Continuous Integration
fixed {
script {
emailext(
to: "commits@struts.apache.org",
to: "notifications@struts.apache.org",
recipientProviders: [[$class: 'DevelopersRecipientProvider']],
from: 'Mr. Jenkins <[email protected]>',
subject: "Jenkins job ${env.JOB_NAME}#${env.BUILD_NUMBER} back to normal",
Expand Down

0 comments on commit ea856e0

Please sign in to comment.