blog menu1

Jenkins

Jenkins

Setup Jenkins -


yum install wget

yum install java-1.8*

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
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 -y jenkins-2.19.4-1.1
yum install jenkins

netstat -tulpn | grep 8080

systemctl start jenkins
cat /var/lib/jenkins/secrets/initialAdminPassword

af3fd551a83c4a038c26fb4619db2427
Install Plugins
systemctl enable jenkins
watch n=1 "netstat -tulpn | grep 8080"

No comments:

Post a Comment