当前位置:网站首页>Jenkins multitask concurrent construction
Jenkins multitask concurrent construction
2022-07-24 01:31:00 【New Shiraz】
One 、 Plug in installation
1、 First, in the jenkins install Multijob Plugin This plugin

Two 、 Add a single task to be executed concurrently
And normal addition job equally , The following are what I want to do job, The purpose is to pass parameters to these three tasks and execute them concurrently .

3、 ... and 、 Concurrent multi task addition
1、 add to multijob project

2、 Configure source management , Because my agreement is analyzed 1/2/3 Using the same branch code , So no more pulling code in a single task , Directly in multijob project Pull the code once .

3、 The build , add to MultiJob Phase

4、 We need to know a relationship , It's the same MultiJob Phase Inside job You can choose concurrent execution or sequential execution , The default is concurrent execution , But it's different MultiJob Phase It's sequential , You can create multiple MultiJob Phase To control the difference job Execution order of .


If you don't need to pass parameters , By now, the concurrent construction has been completed .
Four 、 Build parameters concurrently
1、 Set parameters in the multi task project , The parameter I set is named :server_ip

2、 stay job Add parameters to
Sinister server_ip It is protocol analysis 1 job Parameter name in , After the equal sign is the parameter configured in the above figure

3、 Protocol analysis 1 In the configuration of the , Same as normal configuration parameters , This parameter name should be consistent with the parameter name on the left of the equal sign in the above figure

thus , Parameter transfer completed , You can build parametrically
5、 ... and 、 Other questions
1、 Parameter description

2、 If the runtime , The same MultiJob Phase Concurrent configuration but no concurrent execution , You need to configure the slave node , I set up 10 Threads



边栏推荐
- 选址与路径规划问题(Lingo,Matlab实现)
- 1000个Okaleido Tiger首发上线Binance NFT,引发抢购热潮
- cmake之add_dependencies
- Network type (notes on the third day)
- Copying readable paths is not easy
- 刚开始使用,请教些问题和教程或分享帖子
- About routing
- 【云原生之kubernetes】kubernetes集群下的Deployment高级资源对象管理
- MySQL Basics (operators, sorting and paging, multi table queries, functions)
- Arm architecture and programming 4 -- serial port (based on Baiwen arm architecture and programming tutorial video)
猜你喜欢

MGRE GRE OSPF process in hcip

OSPF(第六天笔记)

php7 垃圾回收机制详解

Arm architecture and programming 5 -- GCC and makefile (based on Baiwen arm architecture and programming tutorial video)

Arm architecture and programming 1 -- LED flashing (based on Baiwen arm architecture and programming tutorial video)

Introduction to digital signature technology

New infrastructure of enterprise data in the era of digital transformation | love Analysis Report

Arm architecture and programming 4 -- serial port (based on Baiwen arm architecture and programming tutorial video)

Interview question: what are the differences between ArrayList and LinkedList

Exchange 2013 SSL证书安装文档
随机推荐
OSPF(第六天笔记)
Hcip day 6 notes
OSI、TCP/IP(A1)
Kotlin foundation from introduction to advanced series explanation (basic chapter) keyword: suspend
OSPF (sixth day notes)
1000 okaleido tiger launched binance NFT, triggering a rush to buy
复制可读路径不好使
Network type (notes on the third day)
HCIP第十二天笔记
Hcip day 6_ Comprehensive experiment in special areas
Summary of HCIA knowledge points
Yinshimei Invisalign oral scan referral method (export oral scan data + online consultation)
SCM learning notes 8 -- keys and external interrupts (based on Baiwen STM32F103 series tutorials)
Just started to use, ask some questions and tutorials or share posts
How to synchronize MySQL database when easycvr platform is upgraded to the latest version v2.5.0?
HCIP实验
Hcip day 9 notes
c语言支持yaml配置文件通用方法
Kotlin基础从入门到进阶系列讲解(基础篇)关键字:suspend
HCIP第十一天笔记