当前位置:网站首页>Continuous integration (I) brief introduction to basic concepts
Continuous integration (I) brief introduction to basic concepts
2022-07-26 15:14:00 【M1kasal】
Preface
This chapter is mainly about 【 Development model 】 And 【 Continuous integration and delivery 】 Basic concepts
- At present, companies on the market generally use Jenkins Conduct continuous integration operation
One 、 A brief introduction to the development model
First of all, let me briefly mention 【 Waterfall model 】 and 【 agile development 】 Model
Waterfall model : Simply speaking , Just like Factory assembly line equally , After one link is finished, go to the next link ( From design –> Development –> test –> Development and Reform bug–> pre-release –> Production etc. ), People in all links can manage their own affairs , During the development process, customers can only Through documentation To understand the product
So its biggest drawback is : The implementation of downstream work depends heavily on the completion of upstream delivery , Caused a serious waste of human resources .
Agile development model : namely Customer demand oriented , Rapid iterative functional development ( Dealing with customers )
In the early stage of software project construction, it will be divided into Many independent small projects To develop , Everyone has to work at the same time ( No longer rely on upstream ), The biggest feature is that customers will participate in the process of software development , Be able to respond to customers' needs in a timely manner
Development mode like this , It is more common in government projects , It is based on the needs of customers to carry out rapid iterative development , The most important thing is more than customer communication , Know more about what customers need . Most of the versions released each time are small versions .

Why mention the development model first ?
- According to my personal understanding, simply say
Because at present, most companies actually implement a 【 agile development 】 Pattern , That model for agile development , Usually the version is based on Small version release Mainly , We need to carry out a quick iteration of the project in a short time , That's for this way of fast iteration , Continuous integration and continuous delivery will inevitably become an important part , It can speed up the delivery of the project , One efficiency of accelerating development and testing
Two 、 A brief introduction to continuous integration and continuous delivery

Continuous integration (Continuous integration): That is, frequently ( Many times a day ) Integrate the code into the trunk . Namely Let the product iterate quickly , At the same time, it can maintain high quality . It's mainly in The development phase perform , Its core measure is , Before the code is integrated into the trunk , Must pass automated tests . As long as one test case fails , You can't integrate .
- for instance : Usually we do UI/API After the deployment of automated use cases , Just develop there Git Submitted the code , It will automatically trigger our use case execution , Then send the test report , In a sense , It's actually a smoke test , But this one is directly and automatically integrated
What are the advantages of continuous integration ?
(1) You can quickly find mistakes . Every time I finish a little update , It's integrated into the backbone , You can quickly find mistakes , It's also easier to get a location error .
Unlike the waterfall model, when the final product is developed , Before submitting the test , What will be left at that time bug There will be a lot of , It will cost a lot of time
(2) Prevent branches from departing significantly from the trunk . If not always integrated , The backbone is constantly updated , It will make the integration more difficult , It's even hard to integrate .
Usually in the development stage , Different development and different requirements will pull different branches , It will not be closed until all the code tests of this branch have been verified master Branch , Continuous integration
Continuous delivery (Continuous delivery): Frequently put new versions of the software , Deliver to quality team or user , For review . If the review is passed , The code goes into production .
Continuous delivery can be seen as The next step of continuous integration . It can be understood that 【 Pre release stage 】, It emphasizes , No matter how it's updated , Software can be delivered anytime, anywhere .
Continuous deployment (continuous deployment): yes The next step in continuous delivery , After the code has passed the review , Automatically deploy to production .
The goal of continuous deployment is , Code is deployable at all times , Can enter the production stage .
The premise of continuous deployment is to automate the completion of tests 、 structure 、 Deployment and other steps .
边栏推荐
- cs224w(图机器学习)2021冬季课程学习笔记5
- Remote desktop on Jetson nano
- 晶品特装递交注册:第一季营收降80% 陈波控制68.5%股权
- SharkTeam发布2022年第二季度Web3安全态势感知报告
- 谷歌尝试为ChromeOS引入密码强度指示器以提升线上安全性
- Digital commerce cloud: lead the digital upgrading of chemical industry and see how Mobei can quickly open up the whole scene of mutual integration and interoperability
- CVE-2022-33891漏洞复现
- 怎样在nature上查文献?
- MySQL builds master-slave replication
- 小白哪个券商开户最好 开户最安全
猜你喜欢

大学生如何申请实用新型专利?

Driver development environment

【LeetCode每日一题】——268.丢失的数字

How to query foreign literature?

领导抢功劳,我改个变量名让他下岗了

持续集成(一)基本概念简要介绍

如何查询外文文献?
![[Huawei online battle service] how can new players make up frames when the client quits reconnection or enters the game halfway?](/img/5b/02a71384c62e998d40d6ce7a98082a.png)
[Huawei online battle service] how can new players make up frames when the client quits reconnection or enters the game halfway?

What is the transport layer protocol tcp/udp???

华为应用已经调用了checkAppUpdate接口,为什么应用内不提示版本更新
随机推荐
How to query foreign literature?
Soft test (VII) performance test (1) brief introduction
DICOM learning materials collection
Parallel d-pipeline: a cuckoo hashing implementation for increased throughput
Yifang biological fell 16% on the first day of listing: the company's market value was 8.8 billion, and Hillhouse and Lilly were shareholders
JS to realize the number to amount price thousand separator
生泰尔科技IPO被终止:曾拟募资5.6亿 启明与济峰资本是股东
R language wilcox The test function compares whether there is a significant difference in the central position of the population of two nonparametric samples (if the two sample data are paired data, s
How to search literature on nature?
Prometheus adds redis and MySQL node monitoring
晋拓股份上交所上市:市值26亿 张东家族企业色彩浓厚
Within a week, I developed my own knowledge sharing platform
Abbkine EliKine人甲胎蛋白(AFP)ELISA定量试剂盒操作方法
Cve-2022-33891 vulnerability recurrence
大学论文格式怎么写?
谷歌尝试为ChromeOS引入密码强度指示器以提升线上安全性
R language ggplot2 visualization: visual line graph, visual line graph for different groups using the group parameter in AES function
Familiarize you with the "phone book" of cloud network: DNS
Which software must be used by scientific researchers to read literature?
R语言使用lattice包中的histogram函数可视化直方图(histogram plot)、col参数自定义填充色、type参数自定义直方图显示模式(计数或者比例)