Jenkins/Install and Plugins

From Ever changing code
Jump to navigation Jump to search

Install Jenkins

Pre-requisites: Java

Install Jenkins on Ubuntu from repository

wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -

Add repo to sources.list

sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update && sudo apt-get install jenkins

First run

Password preview

sudo vi /var/lib/jenkins/secrets/initialAdminPassword

Url http://localhost:8080

Install required plugins using web based wizard.