diff --git a/Jenkinsfile b/Jenkinsfile index d808ea17c..b5ca29227 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,15 +9,11 @@ pipeline { } post { - success { - mail to: 'mnezam.31@gmail.com', - subject: "Successfull Build: ${currentBuild.fullDisplayName}", - body: "The following was successfully built ${env.BUILD_URL}" - } - failure { - mail to: 'mnezam.31@gmail.com', - subject: "Failed Build: ${currentBuild.fullDisplayName}", - body: "Something went wrong with the following ${env.BUILD_URL}" - } + success { + emailext body: 'A Test EMail', + recipientProviders: [[$class: 'DevelopersRecipientProvider'], + [$class: 'RequesterRecipientProvider']], + subject: 'Test' } } +}