Automated deployment and sent a mail from Jenkins

Start Jenkins
Deploy Plugin installation 
download and upload in manage jenkins or direct installation(deploy to container plugin) from available.
Create Job
freestyle project - war file - place war file in jenkins home workspace and project.
Post Build actions - option deploy war to container - details - select container give details


Sent a Email

Configure system - Email Notification
SMTP server - smtp.gmail.com
Advanced - user name and password
Gmail - SSL use -465 port

MyAccount - allow less secure apps - ON

Goto Jobs - Configure - Post Build Actions - Receipients.

Plugins - Email EXT, Extreme notification

Reacties