DEVOPS DAY 5
Continuous Integration using Jenkins
What we’ll cover?
Introduction to CIIntroduction to Jenkins
History of Jenkins
Pros and Cons of using Jenkins
JDK installation
Maven Installation
Install and Configure Tomcat
Jenkins's installation in Windows
Jenkins's installation in Linux
Create user in Jenkins
Q&A
Continuous Integration
Continuous Integration is a development practice that requires developers to integrate code into a shared repository at regular intervals. This concept was meant to remove the problem of finding later occurrence of issues in the build lifecycle. Continuous integration requires the developers to have frequent builds. The common practice is that whenever a code commit occurs, a build should be triggered.Why Jenkins?
Jenkin is the most popular, open-source Continuous Integration tool. It has tons of plugins that enhance its functionality.
Jenkins is an open-source automation tool written in Java programming language that allows continuous integration.
Jenkins builds and tests our software projects, which continuously making it easier for developers to integrate changes to the project and making it easier for users to obtain a fresh build.
Download Link: https://www.jenkins.io/download/
History of Jenkins
Kohsuke Kawaguchi, who is a Java developer, working at SUN Microsystems, was tired of building the code and fixing errors repetitively. In 2004, he created an automation server called Hudson that automates build and test task.
In 2011, Oracle who owned Sun Microsystems had a dispute with Hudson open-source community, so they forked Hudson and renamed it as Jenkins.
Both Hudson and Jenkins continued to operate independently. But in short span of time, Jenkins acquired a lot of contributors and projects while Hudson remained with only 32 projects. Then with time, Jenkins became more popular, and Hudson is not maintained anymore.
Advantages
It is an open-source tool.
It is free of cost.
It does not require additional installations or components. Means it is easy to install.
Easily configurable.
It supports 1000 or more plugins to ease your work. If a plugin does not exist, you can write the script for it and share with community.
It is built in java and hence it is portable.
It is platform independent. It is available for all platforms and different operating systems. Like MAC OS, Windows or Linux.
Easy support, since it open source and widely used.
Jenkins also supports cloud-based architecture so that we can deploy Jenkins in cloud-based platforms.
Disadvantages
Not easy to maintain it because it runs on a server and requires some skills as server administrator to monitor its activity.
CI regularly breaks due to some small setting changes. CI will be paused and therefore requires some developer's team attention.
Comments
Post a Comment