参考

https://blog.csdn.net/xiegh2014/article/details/78803342

以下是命令操作

yum -y install java-1.8.0 java-devel-1.8.0

yum -y install git

cd /etc/yum.repos.d/
wget http://pkg.jenkins.io/redhat/jenkins.repo
rpm --import http://pkg.jenkins.io/redhat/jenkins.io.key
yum install -y jenkins

3、启动
systemctl start jenkins

如果启动失败,修改端口号

vim /etc/sysconfig/jenkins

8080改为其他端口号,如8180

systemctl restart jenkins

4、在浏览器打开输入http://IP:8080/访问jenkins

http://10.0.3.239:8180/

5.跳过插件和jenkins url实例配置,直接注册用户如下:

 

Centos7 jenkins安装master和slave

 

6. 插件安装

Centos7 jenkins安装master和slave

 

 

 

 

将https修改为http,并提交

 

Centos7 jenkins安装master和slave

 

 

重启Jenkins

systemctl  restart  jenkins

7. 安装gitlab插件

Centos7 jenkins安装master和slave

9. URL实例配置,点击系统管理---系统设置,如下:

Centos7 jenkins安装master和slave

 

 

相关文章:

  • 2021-09-09
  • 2021-10-27
  • 2021-12-16
  • 2022-01-05
  • 2022-12-23
  • 2021-12-07
  • 2021-08-05
猜你喜欢
  • 2021-07-15
  • 2021-10-03
  • 2021-06-07
  • 2021-10-03
相关资源
相似解决方案