Jenkins基础系统之更换镜像源

清华大学镜像地址:https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json

操作步骤:

  1. 进入jenkins系统管理

  2. 进入插件管理
  3. 点击高级,修改升级站点的地址为清华大学镜像地址

二、更换源配置

1. 关闭对 update-center.json 的安全检查

将下列属性添加到 Jenkins 启动参数

hudson.model.DownloadService.noSignatureCheck=true

例子1 Java 启动

java -Dhudson.model.DownloadService.noSignatureCheck=true -jar jenkins.war --httpPort=9800

例子2 Docker 启动

docker run --env JAVA_OPTS=-Dhudson.model.DownloadService.noSignatureCheck=true jenkins/jenkins

参考:

- Features controlled by system properties

- JENKINS-11598

2. 使用本站的 update-center.json

复制到 更新站点 URL 保存

https://jenkins-update.davidz.cn/update-center.json

参考:

- 墙内 Jenkins 插件下载的一种解决方案

- 本站的更新脚本

三、自建update-center.json

http://jenkins.b-nature.cn:10026/jenkins/updates/update-center.json

欢迎大家使用

原文地址:https://www.cnblogs.com/cqhaibin/p/12681828.html

时间: 2024-07-30 23:08:30

Jenkins基础系统之更换镜像源的相关文章

Linux系统下yum镜像源环境部署记录

之前介绍了Linux环境下本地yum源配置方法,不过这个是最简单最基础的配置,在yum安装的时候可能有些软件包不够齐全,下面说下完整yun镜像源系统环境部署记录(yum源更新脚本下载地址:https://pan.baidu.com/s/1miMNPgc     提取密码:hq6u): 1)安装nginx,用于yum镜像源访问配置 [[email protected] ~]# yum -y install gcc pcre-devel zlib-devel openssl-devel [[emai

树莓派2、3更换镜像源

树莓派系统安装后默认使用国外的镜像源,因为墙的原因,所以在安装模块的时候速度非常慢,因此需要将镜像源换成国内的. 1.打开配置sources.list文件 sudo nano /etc/apt/sources.list 2.用#注释掉原文件内容,用以下内容取代(Ctrl + O 保存再 Ctrl + X 退出): deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ stretch main contrib non-free rpi

ubuntu16.04更换镜像源

1.备份原有 cp /etc/apt/sources.list /etc/apt/sources.list.old 2.打开阿里巴巴镜像源:  https://opsx.alibaba.com/mirror,打开帮助找到 ubuntu 16.04 配置如下 deb http://mirrors.aliyun.com/ubuntu/ xenial main deb-src http://mirrors.aliyun.com/ubuntu/ xenial main deb http://mirror

Python更换镜像源

目录 Windows Mac 这篇文章将解除你使用python的pip install xxx受到的网速限制,如果只是下载较小的第三方库,可以尝试pip --default-timeout=100 install -U xxx. Windows 找到python安装目录下的:\Lib\site-packages\pip\models\index.py文件,将PYPI的值改为你所需要的镜像源即可,例如改为豆瓣镜像源: #PyPI = Index('https://pypi.python.org/'

CentOS 7更换镜像源

1.先安装wget,执行命令:"yum install -y wget". 2.打开阿里镜像:https://developer.aliyun.com/mirror/ 3.下载新的 CentOS-Base.repo 到 /etc/yum.repos.d/ . wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 或者 curl -o /etc/yum.repos.d/

CentOS更换镜像源

使用说明 首先备份/etc/yum.repos.d/CentOS-Base.repo 1 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 下载对应版本的repo文件,放入/etc/yum.repos.d/(操作前请做好相应备份) CentOS7 CentOS6 CentOS5 运行以下命令生成缓存 yum clean all yum makecache 原文地址:https://www.c

树霉派更换软件镜像源

由于某些原因,国内访问树霉派官网的速度比较慢,所以我们有必要更换国内镜像源 1.备份源文件 sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak sudo cp /etc/apt/sources.list.d/raspi.list /etc/apt/sources.list.d/raspi.list.bak 2.修改软件更新源 sudo nano /etc/apt/sources.list # 将第一行修改成中科大的软件源地址,「Ctrl

安装Ubuntu双系统系列——更换源

Ubuntu 有一个非常有用的命令 apt-get,它可以帮助你下载软件,还可以安装,下载并安装的命令是 apt-get install. 那Ubuntu默认是从哪里下载软件呢,这可以查看文件/etc/apt/sources.list 但人们往往想从更近的地方来进行下载软件,比如自己的学校,自己的公司,这样我们就需要将默认的源进行更换一下了. 1.备份源的配置文件sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup 2. 编辑源的配

为你的pip更换一个国内的镜像源

为你的pip更换一个国内的镜像源 是否常常为pypi官网被无故和谐掉导致pip不能下载python的各个包而痛心疾首? 是否常常在深夜里看着pip install 下载包的速度慢如乌龟而长吁短叹? 是否常常下载wheel文件到本地手动安装只为了不在自动安装的下载中途断开连接? 是时候更换一个国内的镜像源了!(祝病魔早日战胜方校长) 国内pypi镜像 V2EX:http://pypi.v2ex.com/simple 豆瓣:http://pypi.douban.com/simple 中国科学技术大学