Jenkins Tutorial
Jenkins Overview:
Jenkins is an open source automation server written in Java. Jenkins helps to automate the non-human part of software development process, with continuous integration and facilitating technical aspects of continuous delivery
Basically Continuous Integration is the practice of running your tests on a non-developer machine automatically every time someone pushes new code into the source repository.
Built on top of Continuous Integration are Continuous Deployment/Delivery where after a successful test run your instantly and automatically release the latest version of your codebase. Makes deployment a non-issue and helps you speed up your development.
Jenkins Installation on CentOS
STEPS:
Lauch an ec2 instance in AWS
run the below script to install jenkins
#!/bin/bash
yum update -y
sudo wget -O
/etc/yum.repos.d/jenkins.repo
https://pkg.jenkins.io/redhat-stable/jenkins.repo
sudo rpm --import
https://pkg.jenkins.io/redhat-stable/jenkins.io.key
yum install jenkins -y
After ran the above script, run the below commands
- service jenkins status
- service jenkins start ( if fails, look for Java -8 version)
For running jenkins, Require java-8 version to be installed, as pert of pre-requisites.So , lets update the java to java-8 version in the current existing server
- Remove the existing java version -7
- yum remove java-1.7.0-openjdk-1.7.0.161-2.6.12.0.75.amzn1.x86_64 -y
- Install the latest java - 8 version
- yum install java-1.8.0-openjdk -y
To know the AWS EC2 Public IP address from the Linux terminal, Run the below command
$ curl ipinfo.io/ip
13.126.45.70
Jenkins Overview:
Jenkins is an open source automation server written in Java. Jenkins helps to automate the non-human part of software development process, with continuous integration and facilitating technical aspects of continuous delivery
Basically Continuous Integration is the practice of running your tests on a non-developer machine automatically every time someone pushes new code into the source repository.
Built on top of Continuous Integration are Continuous Deployment/Delivery where after a successful test run your instantly and automatically release the latest version of your codebase. Makes deployment a non-issue and helps you speed up your development.
Jenkins Installation on CentOS
STEPS:
Lauch an ec2 instance in AWS
run the below script to install jenkins
Jenkins Installation on CentOS
STEPS:
#!/bin/bash
yum update -y
sudo wget -O
/etc/yum.repos.d/jenkins.repo
https://pkg.jenkins.io/redhat-stable/jenkins.repo
sudo rpm --import
https://pkg.jenkins.io/redhat-stable/jenkins.io.key
yum install jenkins -y
|
After ran the above script, run the below commands
- service jenkins status
- service jenkins start ( if fails, look for Java -8 version)
- Remove the existing java version -7
- yum remove java-1.7.0-openjdk-1.7.0.161-2.6.12.0.75.amzn1.x86_64 -y
- Install the latest java - 8 version
- yum install java-1.8.0-openjdk -y
$ curl ipinfo.io/ip
13.126.45.70
Comments
Post a Comment