Skip to content

Instantly share code, notes, and snippets.

@prasvats
Created June 25, 2019 15:02
Show Gist options
  • Save prasvats/82f782ae7c74a9853b7849617ae68677 to your computer and use it in GitHub Desktop.
Save prasvats/82f782ae7c74a9853b7849617ae68677 to your computer and use it in GitHub Desktop.
Install Jenkins
sudo apt-get update
sudo locale-gen
wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
sudo sh -c 'echo deb https://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install default-jdk
sudo apt policy jenkins
echo "export LC_ALL=en_US.UTF-8" >> ~/.bashrc
echo "export LANG=en_US.UTF-8" >> ~/.bashrc
source ~/.bashrc
sudo apt-get install jenkins=2.176.1
sudo service jenkins start
sudo systemctl enable jenkins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment