Update Jenkinsfile

This commit is contained in:
Firassawan 2020-03-09 16:38:38 -04:00 committed by GitHub
parent 4e6fc33b01
commit 66e73058e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

11
Jenkinsfile vendored
View file

@ -21,16 +21,5 @@ 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']]
}
}
}