/Jenkins_Practice

CI CD Pipeline for Spring boot project

Primary LanguageJava

Jenkins project view

Project view on jenkins

Project builds

build

Email after each build

For enabling this follow the steps:

  1. Manage jenkins > System then scroll down find E-mail Notification
  2. On SMTP server: smtp.gmail.com
  3. Default user e-mail suffix: @gmail.com
  4. Click on Advanced. On Click on Use SMTP Authentication then provide username(email) & password(use app password other may fail)
  5. Click on SSL
  6. On SMTP Port: 465 this the port for gmail
  7. In Reply-To Address you can use another gmail on which reply will come
  8. Test it check if its working fine -> Test configuration by sending test e-mail
    email

When your done then if your build failed. You'll get message like this:
error

CI / CD Pipeline

Created 3 Jobs
pipeline

CI / CD Pipeline working perfectly

pipeline works perfectly

CI / CD Pipeline with error

If any job occurs error then the pipeline will stop there won't move forward:
error