Home page

Showing posts with label Jenkins. Show all posts
Showing posts with label Jenkins. Show all posts

Monday, December 9, 2019

How to configure email notification in Jenkins


  1. Login to Jenkins
  2. Go to Configure System
  3. Go to bottom of the page and stop at Extended E-mail Notification section
  4. Do required setup related to credentials.
  5. Do required modification in Subject and Email template as per your requirements.

Note: Check email configuration correctly done or not from E-mail Notification section by using Test feature.

You need to enter recipients email(s) under Project Recipient section from Your Created Job > Configuration > Post-build Actions

Monday, December 2, 2019

Do JAVA and Maven configuration in Jenkins

Steps to do JAVA and Maven configuration with Jenkins
  1. Go to Manage Jenkins from options listed on the left side.
  2. Go to Global Tool Configuration
  3. Click 'Add JDK' button under 'JDK' panel.
  4. Uncheck "Install Automatically" checkbox. [This comes bydefault checked to install latest Java version automatically]
  5. Enter JAVA_HOME in Name textbox.
  6. Enter jdk folder path path in JAVA_HOME textbox.[e.g; c:\Program Files\Java\jdk1.8.0]
  7. Scroll down and click 'Add Maven' button under 'Maven' panel.
  8. Uncheck "Install Automatically" checkbox. [This comes bydefault checked to install latest maven version automatically]
  9. Enter MAVEN_HOME in Name textbox.
  10. Enter maven path in MAVEN_HOME textbox. [e.g; D:\Software\Maven\apache-maven-3.4] If it is not installed then first install.
  11. Click Save button.

Friday, November 29, 2019

Jenkins Install Suggested Plugins

Following plugins Jenkins recommend to install while configuring first time:
  1. Folders
  2. Timestamper
  3. Pipeline
  4. Git
  5. PAM Authentication
  6. OWASP Markup  Formatter
  7. Workspace Cleanup
  8. GitHub Branch Source
  9. Subversion
  10. LDAP
  11. Build Timeout
  12. Ant
  13. Pipeline: GitHub Groovy Libraries
  14. SSH Slaves
  15. Email Extension
  16. Credentials Binding
  17. Gradle
  18. Pipeline: Stage View
  19. Matrix Authorization Strategy
  20. Mailer