1.uos搭建jenkins

#安装jdk
sudo
apt install openjdk-8-jdk-headless

#安装jenkins
wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
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

#启动jenkins
/etc/init.d/jenkins restart
#浏览器访问
http://127.0.0.1:8080/ 
原文地址:https://www.cnblogs.com/tarzen213/p/14857442.html