Jenkins安装
下载文档
https://www.jenkins.io/zh/download/
Debian下载
1.下载安装key
下载key
https://pkg.jenkins.io/debian-stable/jenkins.io.key
在jenkins.io.key文件目录
apt-key add jenkins.io.key
2.添加源
deb https://pkg.jenkins.io/debian-stable binary/
3.更新
sudo apt-get update sudo apt-get install jenkins
4.启动
cd /usr/share/jenkins
java -jar jenkins.war --httpPort=8081
5.登录
登录时需要输入密码
查看密码
cat /root/.jenkins/secrets/initialAdminPassword
6.选择插件