Skip to content

Instantly share code, notes, and snippets.

@avtaniket
Last active December 15, 2017 09:03
Show Gist options
  • Save avtaniket/09803ac16fefc3d8742f818d28377594 to your computer and use it in GitHub Desktop.
Save avtaniket/09803ac16fefc3d8742f818d28377594 to your computer and use it in GitHub Desktop.
Install Jenkins on Ubuntu 16.04
For AWS EC2
create Role : aws-ec2-jenkins-role
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
sudo systemctl start jenkins
sudo systemctl status jenkins
http://ip_address_or_domain_name:8080
sudo cat /var/lib/jenkins/secrets/initialAdminPassword
"Install suggested plugins"
Create admin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment