Created
May 25, 2016 18:16
-
-
Save shafi-codez/06712a07b232af79c346fd27b13b4eb8 to your computer and use it in GitHub Desktop.
Jenkins Update
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for OSS Version in Ubuntu | |
sudo wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - | |
sudo deb http://pkg.jenkins-ci.org/debian binary/ | |
echo "deb http://pkg.jenkins-ci.org/debian-stable binary/" >> /etc/apt/sources.list | |
sudo apt-get install jenkins | |
# For Cloudbees Version in CentOs | |
# https://cloudbees.zendesk.com/hc/en-us/articles/219530988-How-to-upgrade-RPM-to-CloudBees-Jenkins-Enterprise | |
sudo rpm --import http://nectar-downloads.cloudbees.com/nectar/rpm/cloudbees.com.key | |
sudo wget -O /etc/yum.repos.d/jenkins.repo http://nectar-downloads.cloudbees.com/nectar/rpm/jenkins.repo | |
sudo yum clean all && sudo yum update | |
or | |
yum clean all && sudo yum update jenkins |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment