Created
June 25, 2019 15:02
-
-
Save prasvats/82f782ae7c74a9853b7849617ae68677 to your computer and use it in GitHub Desktop.
Install Jenkins
This file contains 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
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