与 Jenkins 集成
安装 Jenkins
1.
wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
2.
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
3.
sudo apt-get update
4.
sudo apt-get install jenkins
5.
sudo systemctl start jenkins
http://localhost:8080
或 http://{你的公网IP}:8080
来访问 Jenkins 控制台。控制台提供了 Web 界面以便你管理和配置 Jenkins 服务。配置 NodeJS 环境
>= v16
,因此需要先在 Jenkins 环境中配置 NodeJS 依赖。nodejs18
)、版本号 (需 >= v16
) 和包名 apifox-cli
。1.
2.