呐,首先确保你的Ubuntu联网且安装了java8(有jre就行),然后在终端中输入

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

即可

使用sudo service jenkins status 查看运行状态