当前位置:网站首页>36-Jenkins-Job迁移
36-Jenkins-Job迁移
2022-08-05 03:28:00 【爱学习de测试小白】
前言
- 本篇来学习Jenkins中如何快速迁移job。在工作中可能会遇到这样的场景,即需要把一个Jenkins上的job迁移到另外一台Jenkins上,那怎么做比较好呢?一起来学习下吧。
1. 安装插件
- 在想要导入job的Jenkins上安装Job Import 插件
- Manage Jenkins --> Manage Plugins --> Avaliable 搜索 Job Import

2. 配置信息
- Manage Jenkins --> Configure System 下找到Job Import Pluguin配置

- name: 这个可以任意命名,这里我命名成要拷贝的Jenkins的IP
- Url: 指要从哪里拷贝的Jenkins的URL
- Credentials:需要添加一个旧Jenkins的账号,没有添加的时候点击Add手动添加下
3. 使用插件
- 返回到Dashboard页面,查看侧边栏,如下图所示

- 点击Job Import Plugin,进入如下下面

- 点击查询,出现想要导入Jenkins的Job,如下图所示

- Install required plugins:安装所需插件(新Jenkins上可能未安装导入job用到的插件,按需勾选)
- Override existing jobs:覆盖Job(导入的Job名称可能在新Jenkins上已经存在,覆盖新Jenkins上的job,谨慎使用,不建议勾选)
- 勾选想要导入的Job,然后点击Import!

- 点击Done,结束导入

- 返回Dashboard页面查看到的test1为导入的Job

边栏推荐
- public static <T> List<T> asList(T... a) 原型是怎么回事?
- 惨遭打脸:字节某部门竟有这么多测试员
- shell脚本:for循环与while循环
- 调用阿里云oss和sms服务
- Defect detection (image processing part)
- Web3.0 Dapps——通往未来金融世界的道路
- YYGH-13-Customer Service Center
- leetcode-每日一题1403. 非递增顺序的最小子序列(贪心)
- 2022-08-04 The sixth group, hidden from spring, study notes
- 2022-08-04 第六小组 瞒春 学习笔记
猜你喜欢

Walter talked little knowledge | "remote passthrough" that something

This year's Qixi Festival, "love vegetables" are more loving than gifts

21天学习挑战赛(2)图解设备树的使用

新人如何入门和学习软件测试?

静态方法获取配置文件数据

测试薪资这么高?刚毕业就20K

Everyone in China said data, you need to focus on core characteristic is what?

.NET应用程序--Helloworld(C#)

论治理与创新,2022 开放原子全球开源峰会 OpenAnolis 分论坛圆满落幕
![[Software testing] unittest framework for automated testing](/img/80/caedd5cf6dd61c9d75475866613cac.png)
[Software testing] unittest framework for automated testing
随机推荐
高项 02 信息系统项目管理基础
2022.8.4-----leetcode.1403
After the large pixel panorama is completed, what are the promotion methods?
Use @Mapper to query the partition status of oracle and report an error
Fifteen. Actual combat - MySQL database building table character set and collation
大佬们,我注意到mysql cdc connector有参数scan.incremental.sna
[Storage] Dawning Storage DS800-G35 ISCSI maps each LUN to the server
21 Days Learning Challenge (2) Use of Graphical Device Trees
ffmpeg 枚举decoders, encoders 分析
Use SuperMap iDesktopX data migration tool to migrate map documents and symbols
QStyle platform style
presto启动成功后出现2022-08-04T17:50:58.296+0800 ERROR Announcer-3 io.airlift.discovery.client.Announcer
Defect detection (image processing part)
Industry Status?Why do Internet companies prefer to spend 20k to recruit people rather than raise their salary to retain old employees~
Countdown to 2 days|Cloud native Meetup Guangzhou Station, waiting for you!
How to discover a valuable GameFi?
You may use special comments to disable some warnings. 报错解决的三种方式
ffmpeg enumeration decoders, encoders analysis
Hash table lookup (hash table)
MRTK3 develops Hololens application - gesture drag, rotate, zoom object implementation