Skip to content

Commit 3f845e5

Browse files
authored
Update Jenkins-installation.sh
1 parent 4bff809 commit 3f845e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

JENKINS-INSTALLATION/Jenkins-installation.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ sudo wget -c --header "Cookie: oraclelicense=accept-securebackup-cookie" http://
1010
sudo yum install jdk-8u131-linux-x64.rpm -y
1111
# 2. Add Jenkins Repository and key
1212
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
13-
sudo cd /etc/yum.repos.d/
13+
cd /etc/yum.repos.d/
1414
sudo curl -O https://pkg.jenkins.io/redhat-stable/jenkins.repo
1515
# 3. Install Jenkins
1616
sudo yum -y install jenkins
1717
sudo systemctl start jenkins
1818
sudo systemctl enable jenkins
19-
sudo systemctl status jenkins
19+
sudo systemctl status jenkins

0 commit comments

Comments
 (0)