导读
- deepin基于debian
- Jenkins官方debian安装教程:https://pkg.jenkins.io/debian-stable/
安装
- 添加秘钥
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -
- 添加源,文件路径:/etc/apt/sources.list
deb https://pkg.jenkins.io/debian-stable binary/
- 更新apt
sudo apt-get update
- 安装
sudo apt-get install jenkins
- 配置端口,文件路径:/etc/default/jenkins
HTTP_PORT=8000
- 重启生效
sudo service jenkins restart