Last active
March 22, 2018 18:21
-
-
Save ops-gaurav/3c826523fcaa4b5720af2267ed111a8d to your computer and use it in GitHub Desktop.
Configuring jenkins script
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
#!/bin/bash | |
echo "Downloading jenkins...." | |
wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add - | |
echo deb https://pkg.jenkins.io/debian-stable binary/ | sudo tee /etc/apt/sources.list.d/jenkins.list | |
sudo apt-get update | |
sudo apt-get install jenkins -y | |
echo "Starting jenkins..." | |
sudo systemctl start jenkins | |
sudo systemctl status jenkins | |
echo "finished setup jenkins" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment