blog menu1

JENKINS : Installations

JENKINS - to install that version in a CentOS 7 environment.
For more information on installing Jenkins, check out the documentation:
Here are the commands used in this lesson's demo:
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
sudo yum -y install jenkins-2.89.4
sudo systemctl enable jenkins
sudo systemctl start jenkins
You can check the Jenkins log like so:
sudo tail -f /var/log/jenkins/jenkins.log
Once you install Jenkins, you will need the temporary admin password to complete setup in the browser. You can get the temporary admin password with this command:


sudo cat /var/lib/jenkins/secrets/initialAdminPassword

1 comment: