Difference between revisions of "Jenkins/Install and Plugins"
< Jenkins
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
#Once all downloaded, create your Admin user | #Once all downloaded, create your Admin user | ||
#Once completed you will see: "''Jenkins is ready! Your Jenkins setup is complete.''", press ''Start Jenkins'' | #Once completed you will see: "''Jenkins is ready! Your Jenkins setup is complete.''", press ''Start Jenkins'' | ||
= Proxy if needed = | |||
If you run restricted port syand you cannot control the box firewall you may want to proxy your connection to Jenkins port :8080. You can install nGinx to do this for you | |||
sudo apt-get install nginx | |||
sudo vi /etc/nginx/sites-enabled #then enable ''proxy_pass'' | |||
location / { | |||
proxy_pass http://127.0.0.1:8080 | |||
} |
Revision as of 19:58, 1 May 2017
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
- Select plugins you wish to install using web based wizard
- Once all downloaded, create your Admin user
- Once completed you will see: "Jenkins is ready! Your Jenkins setup is complete.", press Start Jenkins
Proxy if needed
If you run restricted port syand you cannot control the box firewall you may want to proxy your connection to Jenkins port :8080. You can install nGinx to do this for you
sudo apt-get install nginx sudo vi /etc/nginx/sites-enabled #then enable proxy_pass location / { proxy_pass http://127.0.0.1:8080 }