当前位置:网站首页>Continuous delivery -pipeline getting started
Continuous delivery -pipeline getting started
2022-07-01 11:09:00 【Hua Weiyun】
Pipeline yes Jenkins2.X The core characteristics of , help Jenkins from CI To CD And DevOps The transformation of .
Pipeline It's a set of plug-ins , Give Way Jenkins It can realize the landing and implementation of continuous delivery pipeline . Continuous delivery pipeline (CD
Pipeline) It is an automatic representation of the whole process from version control to delivery to users or customers . Every change in the software ( Submit to source control system ) It takes a complex process to be released .
Pipeline Provides a set of extensible tools , adopt Pipeline Domain Specific Language(DSL)syntax You can achieve
Pipeline as Code( Jenkinsfile Stored in the project's source code library ) Purpose .
Pipeline The basic concepts in
Stage
Stage , One Pipeline It can be divided into several Stage, Every Stage Represents a group of operations , for example :“Build”,“Test”,“Deploy”.Stage
It's a concept of logical grouping , It can span multiple Node
Node
node , One Node It's just one. Jenkins node , Or is it Master, Or is it Agent, Is to perform Step The specific operating environment .
Steps
step ,Steps Is the most basic unit of operation , Small enough to create a directory , Big enough to build a Docker Mirror image .
Pipeline Create and configure
Create a new one Jenkins Mission , In the task type, select Pipeline. take Pipleline Fill in the task code of Pipeline Script Dialog box .
function Pipeline Mission .
Run through the code base Pipeline Mission
Except that it can be directly in Jenkins UI Add Pipeline Code running tasks , You can also save the code to the code base , Then run by specifying the location of the code Pipeline
Mission . The operation steps are as follows :
Create a new one Jenkins Mission , In the task type, select Pipeline.
stay Jenkins Pipeline Select... From the task Pipeline script from SCM, Then add git Source code address , stay Script Path Fill in the... To be run Jenkinsfile The address of the document .
Run through the code base Pipeline Mission .
Save pairs Pipeline Configuration made , Then run the task .
Pipeline, In short , It's a set that runs on Jenkins
Workflow framework on , Connect tasks that run independently of one or more nodes , Realize the complex process layout and visualization that single task is difficult to complete .
边栏推荐
- Flip the array gracefully
- The first anniversary of the data security law, which four major changes are coming?
- LeetCode. 515. Find the maximum value in each tree row___ BFS + DFS + BFS by layer
- 12 product management platforms that everyone is using
- Infinite innovation in cloud "vision" | the 2022 Alibaba cloud live summit was officially launched
- sdp 协议中的packetization-mode方式和三种流传输模式
- TEMPEST HDMI泄漏接收 4
- The idea runs with an error command line is too long Shorten command line for...
- Oracle和JSON的結合
- Face detection and recognition system based on mtcnn+facenet
猜你喜欢
Network security learning notes 01 network security foundation
Technology sharing | introduction to linkis parameters
华为设备配置大型网络WLAN基本业务
Uncover the secrets of new products! Yadi Guanneng 3 multi product matrix to meet the travel needs of global users
CVPR 2022 | self enhanced unpaired image defogging based on density and depth decomposition
Huawei HMS core joins hands with hypergraph to inject new momentum into 3D GIS
How does MySQL copy table data from one database to another (two databases are not linked to the same database)
The project bar on the left side of CodeBlocks disappears, workspace automatically saves the project, default workspace, open the last workspace, workspace (Graphic tutorial, solved)
Tempest HDMI leak reception 4
PHP有哪些优势和劣势
随机推荐
How to realize the four isolation levels of MySQL (brief)
基金国际化的发展概况
TEMPEST HDMI泄漏接收 5
Export and import of incluxdb on WIN platform
escape sequence
Unittest 框架介绍及第一个demo
Packet mode and three streaming modes in SDP protocol
Applymiddleware principle
PHP realizes lottery function
Brief analysis of edgedb architecture
The idea runs with an error command line is too long Shorten command line for...
CVPR 2022 | Virtual Correspondence: Humans as a Cue for Extreme-View Geometry
LeetCode 438. Find all letter ectopic words in the string__ sliding window
BAIC bluevale: performance under pressure, extremely difficult period
云上“视界” 创新无限 | 2022阿里云直播峰会正式上线
CVPR22 |CMT:CNN和Transformer的高效结合(开源)
[AI information monthly] 350 + resources! All the information and trends that can't be missed in June are here! < Download attached >
YoDA统一数据应用——融合计算在蚂蚁风险场景下的探索与实践
编译调试Net6源码
Win平台下influxDB导出、导入