img

Jenkins – Continuous Integration Setup

Continuous Integration is a software development practice where members of a team integrate their work frequently, usually, each person integrates at least daily – leading to multiple integrations per day. Each integration is verified by an automated build (including test) to detect integration errors as quickly as possible. Many teams find that this approach leads to significantly reduced integration problems and allows a team to develop cohesive software more rapidly.

Jenkins is a software that allows continuous integration. Jenkins will be installed on a server where the central build will take place. The following flowchart demonstrates a very simple workflow of how Jenkins works. Hudson is a very popular open-source Java-based continuous integration tool developed by Sun Microsystems which was later acquired by Oracle. After the acquisition of Sun by Oracle, a fork was created from the Hudson source code, which brought about the introduction of Jenkins.

Jenkins System Requirements :

JDK JDK 1.5 or above
Memory 2 GB RAM (recommended)
Operating System Windows, Ubuntu/Debian, Red Hat/Fedora/CentOS, Mac OS X, openSUSE, FReeBSD, OpenBSD, Gentoo.

Installing Jenkins

  1. You can download the Jenkins from its website.
  2. You can download the latest release from there but I would suggest downloading the Long Term Support (LTS) version as its stable release for Jenkins.

jn1

3. Download the Windows to download the Jenkins msi/exe installer file for installation.

4. After successful download unzips the folder and clicks on msi/exe file.

5. Click on the file and follow the instructions to install the Jenkins.

jn2jn3jn4jn5jn6

6. After successful installation, restart the system (if it asks to restart).

7. Now open the browser and enter the Jenkins URL: http://localhost:8080/, It’ll redirect you to fresh Jenkins screen.

8. For the first time, it’ll ask you to enter the password which you can find in its user directory for unlocking Jenkins first time. (normally file is at C:\Users\<username>\.jenkins\secrets\initialAdminPassword)

jn8

9. Open the file and paste the password into the text field and click on Continue.

10. After that, it’ll ask you to install Jenkins plugin as customization. Select ‘Install suggested plugins’ it will have frequently used plugins.

jn9

11. It’ll start to install the plugin directly and you’ll see the plugin list there. It’ll take time to install the plugins.

jn11

Note: Plugin installation takes time depending on your internet speed. 

12. After successfully installed plugin, you’ll redirect back to fill some information of yours for Jenkins. Enter the information and credentials which you will use next time you’ll login to the Jenkins.

jn12

13. That’s it!, You’re ready for the Jenkins. Click on ‘Start using Jenkins’ button and you’ll be there in Jenkins Dashboard.

jn13

14. This is how fresh Jenkins dashboard looks like.

jn14

This all from Jenkins, You can find here the Jenkins Email Configuration set up as well.

  • Facebook
  • Twitter
  • Google+
  • Linkedin
  • Pinterest

Leave a Comment

Your email address will not be published. Required fields are marked *

It is main inner container footer text
Accessibility