当前位置:网站首页>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
边栏推荐
- MRTK3 develops Hololens application - gesture drag, rotate, zoom object implementation
- You may use special comments to disable some warnings. Three ways to report errors
- How to find all fields with empty data in sql
- QT: The Magical QVarient
- [GYCTF2020]EasyThinking
- Use Unity to publish APP to Hololens2 without pit tutorial
- burp安装及代理设置
- 10 years of testing experience, worthless in the face of the biological age of 35
- Step by step how to perform data risk assessment
- [论文笔记] MapReduce: Simplified Data Processing on Large Clusters
猜你喜欢
Leading the highland of digital medicine, Zhongshan Hospital explores to create a "new paradigm" for future hospitals
Solana NFT开发指南
论治理与创新,2022 开放原子全球开源峰会 OpenAnolis 分论坛圆满落幕
Is your data safe in this hyperconnected world?
In 2022, you still can't "low code"?Data science can also play with Low-Code!
今年七夕,「情蔬」比礼物更有爱
七夕节代码表白
Open-Falcon of operation and maintenance monitoring system
[Qixi Festival] Romantic Tanabata, code teaser.Turn love into a gorgeous three-dimensional scene and surprise her (him)!(send code)
public static <T> List<T> asList(T... a) 原型是怎么回事?
随机推荐
冒泡排序与快速排序
Industry Status?Why do Internet companies prefer to spend 20k to recruit people rather than raise their salary to retain old employees~
The usage of try...catch and finally in js
YYGH-13-Customer Service Center
Package zip is not available, but is referred to by another package.
引领数字医学高地,中山医院探索打造未来医院“新范式”
How to find all fields with empty data in sql
Common open source databases under Linux, how many do you know?
public static
List asList(T... a) What is the prototype? Mathematics - Properties of Summation Symbols
ffmpeg enumeration decoders, encoders analysis
今年七夕,「情蔬」比礼物更有爱
One hundred - day plan -- -- DAY2 brush
Why is the pca component not associated
Linux下常见的开源数据库,你知道几个?
Web3.0 Dapps - the road to the future financial world
[Storage] Dawning Storage DS800-G35 ISCSI maps each LUN to the server
Developing Hololens encountered The type or namespace name 'HandMeshVertex' could not be found..
905. 区间选点
How to Add Category-Specific Widgets in WordPress