当前位置:网站首页>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
边栏推荐
- 剑指Offer--找出数组中重复的数字(三种解法)
- 2022 Hangzhou Electric Multi-School 1st Game
- Static method to get configuration file data
- 冒泡排序与快速排序
- Beyond YOLO5-Face | YOLO-FaceV2 officially open source Trick+ academic point full
- Turn: Charles Handy: Who you are is more important than what you do
- How to sort multiple fields and multiple values in sql statement
- The sword refers to Offer--find the repeated numbers in the array (three solutions)
- Dynamic management of massive service instances
- How to Add Category-Specific Widgets in WordPress
猜你喜欢
运维监控系统之Open-Falcon
Confessing the era of digital transformation, Speed Cloud engraves a new starting point for value
Getting Started with Kubernetes Networking
用CH341A烧录外挂Flash (W25Q16JV)
Details such as compiling pretreatment
Initial solution of the structure
MRTK3 develops Hololens application - gesture drag, rotate, zoom object implementation
dmp (dump) dump file
public static
List asList(T... a) What is the prototype? [论文笔记] MapReduce: Simplified Data Processing on Large Clusters
随机推荐
Object.defineProperty monitors data changes in real time and updates the page
2022 High-level installation, maintenance, and removal of exam questions mock exam question bank and online mock exam
Burp installation and proxy settings
[TA-Frost Wolf_may-"Hundred Talents Project"] Graphics 4.3 Real-time Shadow Introduction
用CH341A烧录外挂Flash (W25Q16JV)
shell脚本:for循环与while循环
Thinking (88): Use protobuf custom options for multi-version management of data
How to simulate the background API call scene, very detailed!
Mathematics - Properties of Summation Symbols
Initial solution of the structure
How to sort multiple fields and multiple values in sql statement
Ice Scorpion V4.0 attack, security dog products can be fully detected
Step by step how to perform data risk assessment
Use Unity to publish APP to Hololens2 without pit tutorial
Everyone in China said data, you need to focus on core characteristic is what?
ffmpeg 像素格式基础知识
On governance and innovation, the 2022 OpenAtom Global Open Source Summit OpenAnolis sub-forum came to a successful conclusion
2022-08-04 The sixth group, hidden from spring, study notes
2022.8.4-----leetcode.1403
Industry Status?Why do Internet companies prefer to spend 20k to recruit people rather than raise their salary to retain old employees~