Jenkins Home Page : https://wiki.jenkins-ci.org/display/JENKINS/Home
Install Jenkins
- add the key to your system:
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add - - add the following entry in your /etc/apt/sources.list:
deb https://pkg.jenkins.io/debian-stable binary/ - update your local package index, then finally install Jenkins:
sudo apt-get update
sudo apt-get install jenkins
After you install jenkins successfully , you can input "localhost:8080" in browser .
Setup Jenkins
Open browser and input "localhost:8080", you will see blow information :
open the file and input the password .
sudo vi /var/lib/jenkins/secrets/initialAdminPassword
Then click "continue" and setup proxy and user name . You can see the jenkins version is 2.32.1 .
Install plugins
-
You can install some suggested plugins first . Click "Install suggested plugins" to install them . It may need take some time to finish it .
After it finished , you need create First Admin User information .
Then you can see Jenkins home :
-
Install other plugins which you need .
Click "Manage Jenkins" -> " Manage Plugins" -> "Available" to search your plugins which you need . For example : install "JIRA plugin" .
Setup "Global Tool Configuration"
click "Manage Jenkins" -> "Global Tool Configuration"
setup your Ant, Git, Maven and JDK . For example :
nt