赞
踩
原文链接:https://juejin.cn/post/7037298752708673566/
参考 :https://pkg.jenkins.io/debian-stable/
wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add -
echo deb http://pkg.jenkins.io/debian-stable binary/ | sudo tee /etc/apt/sources.list.d/jenkins.list
update
,以便apt-get
将使用新的存储库:sudo apt-get update
报错如下:
Err:7 https://pkg.jenkins.io/debian-stable binary/ Release
Could not wait for server fd - select (11: Resource temporarily unavailable) [IP: 151.101.230.133 443]
Reading package lists... Done
E: The repository 'https://pkg.jenkins.io/debian-stable binary/ Release' does not have a Release file.
执行以下命令,可以解决,原因可能是jenkins新的更新 jenkins 2.303.2 Lt
sudo apt-get upgrade
sudo apt-get update
sudo apt-get install jenkins
sudo systemctl start jenkins
sudo systemctl status jenkins
注意:
默认端口是8080,有时候由于端口占用需要修改如下:
HTTP_PORT=8082
sudo systemctl restart jenkins
参考:https://blog.csdn.net/star919402/article/details/108083205
具体步骤略
说明:选择Available,根据名称搜索对应的插件,安装。安装完成后出现在Installed选项卡下,我这边安装的有
Git Parameter Plug-In、GitLab、NodeJS Plugin、Role-based Authorization Strategy、Publish Over SSH、LDAP Plugin、Maven Integration plugin
配置[GitLab]参考:https://www.cnblogs.com/ycyzharry/p/14354819.html;
配置[Publish Over SSH]参考:https://www.pianshen.com/article/6955579164/
参考:https://www.cnblogs.com/sker/p/9255338.html
参考:https://blog.csdn.net/weixin_45509582/article/details/120531628
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。