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
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.keyyum install fontconfig java-11-openjdkyum install jenkinssystemctl start jenkins.service
Create a Job: (Freestyle Project Job)
- New Item
- Name (Walmart-dev)
- Freestyle Project
- Source Code management
- Git
- Repository URL
Yum install git -y- Credentials
- Username
- Password
- Descripton
- Branches to Build = */development
- Build Environment
- Build Steps
- Invoke top-level Maven targets
- Goals
- Clean Package
Comments
Post a Comment