Jenkins set to run automatically send mail notification results
1 to obtain an authorization code E-mail
Login Email Select "Settings"
Open IMAP / SMTP service after opening needs to send text messages via cell phone to get online authorization code
For example, my authorization code is:
2 Start jenkins
Enter system setup
3 configuration jenkins System Settings
Configuring jenkins local address and default mailbox
Mail Extensions set reminders (requires tap Advanced Options)
Setting allows unregistered users to send (this step is critical)
No matter if you want to send a message both success and failure, then here to check always failure-any and success
If you just check Always , Jenkins integrated the results after the success can not be sent to the recipient's mailbox
The same e-mail alert here (need to tap the Advanced Options)
Test whether the mailbox can receive mail
4 is set to send mail items after building completion
Into the project configurar later, select Actions to execute later
Click on the drop-down box, select Editable Email Notification
Select Advanced Settings ( Advanced Setting )
Click the Add Trigger to add a Always , and the Send the To : Department Click Add drop-down box, select Recipient List (pick list of recipients), other options added on demand
Click again to Advanced
In the Recipient List Enter the mailbox to receive mail at, separated by commas. Content-Type and Content can adjust according to the needs
After setting Click Apply and save, Jenkins results after the completion of the building will immediately be sent to a mailbox set in the previous step.