Jenkins

 Jenkins is an Open Source, Java based, CI tool.

Jenkins is going to support other languages ().

Hudson (Jenkins)  2004

Jenkins Community  2011

What is Continues Integration?

  • CI is the process of automating build, test the code, every time a developer push the code.
  • CI = C Testing + C Build
If you want to implement the Continues Integration what are the tools you are going to propose?

Continues Integration Benefits:

  • Immediate bug detection.
  • No Integration step in the Software Development lifecycle.
  • A deployable system at any given point.
What is the difference between CD & CD?


Continues Delivery:    
In house projects / Internal Projects

Continues Deployment:   Flipkart, amazon (External projects)

Jenkins ----------------------------> CE
Cloudbees Jenkins--------------> EE


Install Jenkins in Redhat:

wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo

rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
yum install fontconfig java-11-openjdk
yum install jenkins

systemctl start jenkins.service

Create a Job: (Freestyle Project Job)
  • New Item
    • Name (Walmart-dev)
      • Freestyle Project
  • Source Code management
    • Git
    • Repository URL
Install the Git in the linux machine where you are installed Jenkins
Yum install git -y
  • Credentials
    • Username
    • Password
    • Descripton
      • Branches to Build = */development
  • Build Environment
    • Build Steps
      • Invoke top-level Maven targets
    • Goals
      • Clean Package

How to install the maven in Jenkins?











Comments

Popular posts from this blog

AWS

Linux

kubernetes