Skip to content

Commit a3b62e4

Browse files
author
William Delanoue
committed
send mail
1 parent 6a7545c commit a3b62e4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Jenkinsfile

+3
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,8 @@ node {
1414
stage 'Build'
1515
// Run the maven build
1616
sh "${mvnHome}/bin/mvn clean install"
17+
18+
stage 'Notify'
19+
mail body: 'Please go to ${env.BUILD_URL}', charset: 'UTF-8', mimeType: 'text/plain', subject: 'Job \'${env.JOB_NAME}\' (${env.BUILD_NUMBER}) is ${currentBuild.result}', to: '[email protected]'
1720
}
1821

0 commit comments

Comments
 (0)