centos7 jenkins持续化构建平台搭建

蔚落 2023-02-09 15:29 281阅读 0赞

1. installation

  1. https://www.cnblogs.com/mmzs/p/12092982.html
  2. # sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
  3. # rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
  4. # yum install jenkins

2. configure

  1. vim /etc/sysconfig/jenkins # 暂不做修改

3. start service

  1. # systemctl start jenkins
  2. # systemctl daemon-reload
  3. # systemctl restart jenkins
  4. # systemctl status jenkins
  5. http://localhost:8080/
  6. # 出现 Please wait while Jenkins is getting ready to work...
  7. # 修改:
  8. vim /var/lib/jenkins/hudson.model.UpdateCenter.xml
  9. # <url>http://updates.jenkins.io/update-center.json</url> 将https改为http
  10. # 其他国内备用地址(也可以选择使用):
  11. https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json
  12. http://mirror.esuni.jp/jenkins/updates/update-center.json
  13. # 重启服务 进行访问
  14. # 安装推荐的插件时报错:安装过程中出现一个错误: No su

发表评论

表情:
评论列表 (有 0 条评论,281人围观)

还没有评论,来说两句吧...

相关阅读

    相关 CentOS7jenkins

    一、概述 Jenkins是一个开源软件项目,是基于Java开发的一种持续集成工具,用于监控持续重复的工作,旨在提供一个开放易用的软件平台,使软件的持续集成变成可能。