Jenkins Mail Notification Action

Muhammed Eren Demir
2 min readJun 24, 2021

Greetings, I talked about sending mail notifications with Jenkins. good reading.

Jenkins is a CI/CD open source automation tool. With Jenkins, Projects automatic integration and deployment processes are performed. Users can be informed about the results of automatic transactions with Jenkins by sending an e-mail.

For example, deploying a project with Jenkins. We want to send the results of the distribution process to the users as an e-mail.

so let’s follow the steps below

Step 1: We will check whether you have Mailler Plugin in Jenkins and if not, load.

Step 2: It will be filled like Jenkins > configuration > E-mail Notification.

If the test result is successful, it has been successfully integrated.

If an error like the following is encountered in the connection, less secure application access should be opened in the mail settings.

Step 3: After selecting mail from Jenkins > jhipster-product-api > Piplene syntax field and filling in the required fields, an example Jenkinsfile or shell command is given as a result.

With Jenkins, we can send mail. Thank you for reading

--

--

Muhammed Eren Demir

I am software developer. I'm improving myself on Java and devops. I'm working java and devops software in DetaySoft.