Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Jenkins MCMARS deployment

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. Technical scenario Overview background: Jenkins of various business lines of large R & D team adopts slave master / standby solution to deploy daily Jenkins is an open source project, which provides an easy-to-use continuous integration system and a large number of plugin to meet everyone's various integration needs. Through the configuration of jenkins Master, different tasks will be sent to multiple machines to execute, improve jenkins processing capacity, advantages: (1). Run CI/CD on different slave task nodes to achieve business load balancing; (2). Tencent Wechat business part of the code testing tool does not support linux, can also support windows nodes; 2. Scheme module diagram

3. Deploy Jenkins MCMARS (one master, two slaves)

(1)。 Environment related information

Name prefix depends on environment version number

Ip address Planning remarks OS

System with sufficient CPU,MEM,Disk resources

CentOS Linux release 7.5

172.21.206.227

172.21.206.228

172.21.206.229

Jenkins MCMARS deployment

Jenkins-master

Ssh MPARS key authentication

Normal deployment of jenkins master

Jenkins ver. 2.190.2

Jenkins_slave01jenkins_slave02

Pay attention to installing the plug-in:

3.jekins installation plug-in list

Plug-in name

Plug-in version

Remarks

Build Timeout

1.19

Timeout plug-in

Docker plugin

1.1

Docker plug-in

Email Extension Plugin

2.6.1

Mail

ElasticBox Jenkins Kubernetes CI/CD Plug-in

1.3

K8s plug-in

Git plugin

3.6.4

Git version plug-in

Maven Invoker plugin

1.3

Maven compilation plug-in

Pipeline

1.5

Command execution

Timestamper

1.8.8

Timestamp current log

Publish Over SSH

1.17

Remote transfer of files and execution of Shell commands

SSH plugin

2.5

Ssh connection

Workspace Cleanup Plugin

0.34

Working directory cleanup

Build With Parameters

1.4

Parameterized construction

Extended Choice Parameter0.78 extended Parametric Dashboard for Blue Ocean1.19.0

Friendly interface pipeline

Dashboard

(1)。 Deploy jenkins master node (self-access solution)-- Log in to master node (administrator privileges)-- > Manage Jenkins--- > manage node-- > new

two。 Login machine filtering process appears

3. Interface to view slave status

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report