Compare commits
1 Commits
main
...
wip/mail-n
Author | SHA1 | Date |
---|---|---|
Emmanuel Cazenave | d593503e0e |
|
@ -9,7 +9,7 @@ def mail_notify(currentBuild, env, email) {
|
|||
// Hack to have the 'jenkins build back to normal' mail sent
|
||||
currentBuild.result = 'SUCCESS'
|
||||
}
|
||||
if (env.BRANCH_NAME == 'master') {
|
||||
if (env.GIT_BRANCH == 'origin/master') {
|
||||
step([
|
||||
$class: 'Mailer', notifyEveryUnstableBuild: true,
|
||||
recipients: email, sendToIndividuals: true
|
||||
|
|
Loading…
Reference in New Issue