当前位置:网站首页>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 .
边栏推荐
- Oracle和JSON的結合
- In June 2022, it was the first programming language?!
- 华泰证券网上开户安全吗?
- Handling distributed transactions with powerful dbpack (PHP tutorial)
- 金融壹账通拟7月4日香港上市:2年亏近30亿 市值蒸发超90%
- Huawei HMS core joins hands with hypergraph to inject new momentum into 3D GIS
- LeetCode.515. 在每个树行中找最大值___逐一BFS+DFS+按层BFS
- LeetCode 438. Find all letter ectopic words in the string__ sliding window
- CANN算子:利用迭代器高效实现Tensor数据切割分块处理
- 华为设备配置大型网络WLAN基本业务
猜你喜欢
CVPR 2022 | Virtual Correspondence: Humans as a Cue for Extreme-View Geometry
Website source code whole site download website template source code download
Cvpr22 | CMT: efficient combination of CNN and transformer (open source)
【AI资讯月刊】350+资源大盘点!6月不容错过的资料和动态,都都都在这里啦!<附下载>
Network security learning notes 01 network security foundation
英特爾實驗室公布集成光子學研究新進展
Face detection and recognition system based on mtcnn+facenet
LeetCode.515. 在每个树行中找最大值___逐一BFS+DFS+按层BFS
2022年6月编程语言排行,第一名居然是它?!
TEMPEST HDMI泄漏接收 4
随机推荐
Network security learning notes 01 network security foundation
编译调试Net6源码
CPI教程-异步接口创建及使用
Infinite innovation in cloud "vision" | the 2022 Alibaba cloud live summit was officially launched
"Target detection" + "visual understanding" to realize the understanding and translation of the input image (with source code)
2022年6月编程语言排行,第一名居然是它?!
Intel Labs annonce de nouveaux progrès en photonique intégrée
获取键代码
Paxos 入门
毕业季·进击的技术er
达梦数据冲刺科创板:拟募资24亿 冯裕才曾为华科教授
PHP realizes lottery function
英特尔实验室公布集成光子学研究新进展
When is testing not unit testing- When is a Test not a Unit-test?
China's cellular Internet of things users have reached 1.59 billion, and are expected to surpass mobile phone users within this year
Packet mode and three streaming modes in SDP protocol
MIT's latest paper, "the need for interpretable features: motivation and classification": building interpretability in the constituent elements of machine learning models
Leetcode 181 Employees exceeding the manager's income (June 29, 2022)
CANN算子:利用迭代器高效实现Tensor数据切割分块处理
Unittest框架中测试用例编写规范以及如何运行测试用例