Requirement
Installing Jenkins
- Install the jenkins key:
wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
- Register the jenkins source:
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
- Add the universe repository:
sudo add-apt-repository universe
- Update the repository:
sudo apt-get update
- Install jenkins:
sudo apt-get install jenkins -y
Preparing Jenkins
- Access jenkins:
http://localhost:8080/
- Use the password found from the following file for Administrator Password:
sudo less /var/lib/jenkins/secrets/initialAdminPassword
- In Getting Started page select:
Install suggested plugins
- Create the first admin user.
- Provide the Jenkins URL in the Instance Configuration.
- Click the Start using Jenkins button.
Leave a Reply