当前位置:网站首页>You should know something about ci/cd
You should know something about ci/cd
2022-07-04 17:50:00 【Wu_ Candy】
【 precondition : You are already in Linux It's finished Jenkins And the corresponding plugin】
Step1: sketch CI/CD
(1)、 The assembly line in the factory is fast 、 automation 、 Produce consumer goods from raw materials in a repeatable way . Again , Software delivery pipeline to fast 、 Automated and repeatable way to generate releases from source .
(2)、 How to complete the overall design of this work is called “ Continuous delivery ”(CD).
(3)、 The process of starting an assembly line is called “ Continuous integration ”(CI).
Continuous integration (Continuous integration) It's a software development practice , That is, team development members often integrate their work , Integrate at least once a day by each member , This means that multiple integrations may occur each day . Each integration is through an automated build ( Including the compilation , Release , automated testing ) To verify , This enables early detection of integration errors .
(4)、 The process of ensuring quality is called “ Keep testing ”.
(5)、 The process of making the final product available to users is called “ Continuous deployment ”.
Continuous deployment (continuous deployment) It's through automated builds 、 Test and deploy cycles to deliver quality products quickly . Sort of represents the extent to which a development team is engineered , After all, fast - moving Internet companies cost more people than machines , Investment machine optimization and development process has relatively improved the efficiency of people , Give Way engineering productivity Maximize .
Some experts make it easy 、 smooth 、 Run efficiently , These people are called O & M development (DevOps) Practitioner .
Step2: What I'm using here is “Scripted Pipeline”
It has two syntax modes: scripted and declarative , Script mode is more powerful , Declarative syntax is more concise .
A scripted code is designed as follows :
Step3: The effect picture after running
边栏推荐
猜你喜欢
To sort out messy header files, I use include what you use
VSCode修改缩进不成功,一保存就缩进四个空格
Zhijieyun - meta universe comprehensive solution service provider
公司要上监控,Zabbix 和 Prometheus 怎么选?这么选准没错!
Oppo Xiaobu launched Obert, a large pre training model, and promoted to the top of kgclue
MVC mode and three-tier architecture
[HCIA continuous update] WLAN overview and basic concepts
With an annual income of more than 8 million, he has five full-time jobs. He still has time to play games
离线、开源版的 Notion—— 笔记软件Anytype 综合评测
Cann operator: using iterators to efficiently realize tensor data cutting and blocking processing
随机推荐
The Block:USDD增长势头强劲
Two methods of MD5 encryption
什么是低代码开发?
Web game engine
Firewall basic transparent mode deployment and dual machine hot standby
CocosCreator事件派發使用
Ks007 realizes personal blog system based on JSP
Zhijieyun - meta universe comprehensive solution service provider
Perfectly integrated into win11 style, Microsoft's new onedrive client is the first to see
Implementation of super large-scale warehouse clusters in large commercial banks
Offline and open source version of notation -- comprehensive evaluation of note taking software anytype
Win32 API 访问路由的加密网页
CocosCreator事件派发使用
Blood spitting finishing nanny level series tutorial - play Fiddler bag grabbing tutorial (2) - first meet fiddler, let you have a rational understanding
公司要上监控,Zabbix 和 Prometheus 怎么选?这么选准没错!
码农版隐秘的角落:作为开发者最讨厌的5件
DataKit——真正的统一可观测性 Agent
长城证券安全不 证券开户
To sort out messy header files, I use include what you use
我写了一份初学者的学习实践教程!