- Learning Continuous Integration with Jenkins(Second Edition)
- Nikhil Pathania
- 73字
- 2021-07-02 21:18:38
Installing the latest stable version of Jenkins
If you prefer to install a stable version of Jenkins, then follow these steps:
- Add the Jenkins repository to the yum repository using the following command:
sudo wget -O /etc/yum.repos.d/jenkins.repo \
http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo
sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
- Install Jenkins using the following command:
sudo yum install jenkins
- See the Starting, stopping, and restarting Jenkins on Red Hat Linux section if you are required to start Jenkins.