mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 06:45:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
5397ee80cd
commit
4e6fc33b01
1 changed files with 11 additions and 0 deletions
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
|
@ -21,5 +21,16 @@ pipeline {
|
|||
sh './mvnw package'
|
||||
}
|
||||
}
|
||||
stage('Send email') {
|
||||
def mailRecipients = "firassawan@icloud.com"
|
||||
def jobName = currentBuild.fullDisplayName
|
||||
|
||||
emailext body: '''${SCRIPT, template="groovy-html.template"}''',
|
||||
mimeType: 'text/html',
|
||||
subject: "[Jenkins] ${jobName}",
|
||||
to: "${mailRecipients}",
|
||||
replyTo: "${mailRecipients}",
|
||||
recipientProviders: [[$class: 'CulpritsRecipientProvider']]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue