当前位置:网站首页>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

边栏推荐
- Hash table lookup (hash table)
- Mathematics - Properties of Summation Symbols
- Use Unity to publish APP to Hololens2 without pit tutorial
- 2022.8.4-----leetcode.1403
- 运维监控系统之Open-Falcon
- QT: The Magical QVarient
- 大佬们,我注意到mysql cdc connector有参数scan.incremental.sna
- What is the difference between SAP ERP and ORACLE ERP?
- Native js realizes the effect of selecting and canceling all the multi-select boxes
- Kubernetes 网络入门
猜你喜欢

Step by step how to perform data risk assessment

This year's Qixi Festival, "love vegetables" are more loving than gifts
![[Filter tracking] based on matlab unscented Kalman filter inertial navigation + DVL combined navigation [including Matlab source code 2019]](/img/c9/fff226b6d33a773b59a0314a99a788.png)
[Filter tracking] based on matlab unscented Kalman filter inertial navigation + DVL combined navigation [including Matlab source code 2019]

leetcode-每日一题1403. 非递增顺序的最小子序列(贪心)

ASP.NET application--Hello World

Increasing leetcode - a daily topic 1403. The order of the boy sequence (greed)

Why did they choose to fall in love with AI?

龙蜥社区第二届理事大会圆满召开!理事换届选举、4 位特约顾问加入

Kubernetes 网络入门
![[Qixi Festival] Romantic Tanabata, code teaser.Turn love into a gorgeous three-dimensional scene and surprise her (him)!(send code)](/img/10/dafea90158adf9d43c4f025414fef7.png)
[Qixi Festival] Romantic Tanabata, code teaser.Turn love into a gorgeous three-dimensional scene and surprise her (him)!(send code)
随机推荐
.NET应用程序--Helloworld(C#)
大佬们,我注意到mysql cdc connector有参数scan.incremental.sna
Increasing leetcode - a daily topic 1403. The order of the boy sequence (greed)
Never put off till tomorrow what you can put - house lease management system based on the SSM
ffmpeg 枚举decoders, encoders 分析
Leading the highland of digital medicine, Zhongshan Hospital explores to create a "new paradigm" for future hospitals
【已解决】Unity Coroutinue 协程未有效执行的问题
.NET Application -- Helloworld (C#)
Burp installation and proxy settings
Queue Topic: Recent Requests
告白数字化转型时代,时速云镌刻价值新起点
[TA-Frost Wolf_may-"Hundred Talents Project"] Graphics 4.3 Real-time Shadow Introduction
AI + Small Nucleic Acid Drugs | Eleven Completes $22 Million Seed Round Financing
Hash table lookup (hash table)
高项 02 信息系统项目管理基础
Summary of domestic environments supported by SuperMap
One hundred - day plan -- -- DAY2 brush
IJCAI2022 | DictBert: Pre-trained Language Models with Contrastive Learning for Dictionary Description Knowledge Augmentation
Static method to get configuration file data
新人如何入门和学习软件测试?