新浪博客

jenkins安装

2023-01-03 16:09阅读:
https://blog.csdn.net/qq_35114214/article/details/88747597
ubuntu 20.04
1、赋予用户root权限。
# User privilege specification
root ALL=(ALL:ALL) ALL
robot ALL=(ALL:ALL) ALL
%robot ALL=(ALL:ALL) NOPASSWD:ALL
2、安装java 11
sudo apt-get install fontconfig openjdk-11-jre
3、增加密钥
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -
4、sudo vim /etc/apt/sources.list
中添加一行:
deb https://pkg.jenkins.io/debian-stable binary/
5、sudo apt update
6、sudo apt install jenkins

我的更多文章

下载客户端阅读体验更佳

APP专享