当前位置:网站首页>CI & CD 不可不知!
CI & CD 不可不知!
2022-06-28 01:44:00 【Wu_Candy】
前置条件:你已经在Linux下搭建好了Jenkins的服务且安装了相应的plugin
Step1:简述CI/CD
(1)、工厂里的装配线以快速、自动化、可重复的方式从原材料生产出消费品。同样,软件交付管道以快速、自动化和可重复的方式从源代码生成发布版本。
(2)、如何完成这项工作的总体设计称为“持续交付”(CD)。
(3)、启动装配线的过程称为“持续集成”(CI)。
持续集成(Continuous integration)是一种软件开发实践,即团队开发成员经常集成它们的工作,通过每个成员每天至少集成一次,也就意味着每天可能会发生多次集成。每次集成都通过自动化的构建(包括编译,发布,自动化测试)来验证,从而尽早地发现集成错误。
(4)、确保质量的过程称为“持续测试”。
(5)、将最终产品提供给用户的过程称为 “持续部署”。
持续部署(continuous deployment)是通过自动化的构建、测试和部署循环来快速交付高质量的产品。某种程度上代表了一个开发团队工程化的程度,毕竟快速运转的互联网公司人力成本会高于机器,投资机器优化开发流程化相对也提高了人的效率,让 engineering productivity 最大化。
一些专家让这一切简单、顺畅、高效地运行,这些人被称为运维开发(DevOps)践行者。
Step2:在这里我使用的是“Scripted Pipeline”
它分脚本式和声明式两种语法模式,脚本模式功能更强大,声明式语法更简洁明了。
一个脚本式的代码设计如下:

Step3:运行后的效果图

欢迎关注【无量测试之道】公众号,回复【领取资源】
Python+Unittest框架API自动化、
Python+Unittest框架API自动化、
Python+Pytest框架API自动化、
Python+Pandas+Pyecharts大数据分析、
Python+Selenium框架Web的UI自动化、
Python+Appium框架APP的UI自动化、
Python编程学习资源干货、
Vue前端组件化框架开发、
资源和代码 免费送啦~
文章下方有公众号二维码,可直接微信扫一扫关注即可。
备注:我的个人公众号已正式开通,致力于IT互联网技术的分享。
包含:数据分析、大数据、机器学习、测试开发、API接口自动化、测试运维、UI自动化、性能测试、代码检测、编程技术等。
微信搜索公众号:“无量测试之道”,或扫描下方二维码:
添加关注,让我们一起共同成长!
边栏推荐
- Intel Ruixuan A380 graphics card will be launched in China
- Interview: is bitmap pixel memory allocated in heap memory or native
- be fond of the new and tired of the old? Why do it companies prefer to spend 20K on recruiting rather than raise salaries to retain old employees
- 导致系统性能失败的十个原因
- 榜单首发——前装搭载率站上10%大关,数字钥匙方案供应商TOP10
- Raspberry pie - environment settings and cross compilation
- R language penalty logistic regression, linear discriminant analysis LDA, generalized additive model GAM, multiple adaptive regression splines Mars, KNN, quadratic discriminant analysis QDA, decision
- Simple elk configuration to realize production level log collection and query practice
- math_(函数&数列)极限的含义&误区和符号梳理/邻域&去心邻域&邻域半径
- Gateway microservice routing failed to load microservice static resources
猜你喜欢

The first in the industry! MOS sub evaluation model for subjective video quality experience that can run on mobile devices!

访问网站提示:您未被授权查看该页恢复办法

【活动早知道】LiveVideoStack近期活动一览

Severe Tire Damage:世界上第一个在互联网上直播的摇滚乐队
![[today in history] June 18: JD was born; The online store platform Etsy was established; Facebook releases Libra white paper](/img/88/6cdd2b604522261e2a88020c5d6ae7.jpg)
[today in history] June 18: JD was born; The online store platform Etsy was established; Facebook releases Libra white paper

Tips for visiting the website: you are not authorized to view the recovery method of this page

在线文本按行批量反转工具

Gateway microservice routing failed to load microservice static resources
![抓包整理外篇fiddler————了解工具栏[一]](/img/5f/24fd110a73734ba1638f0aad63c787.png)
抓包整理外篇fiddler————了解工具栏[一]
![[today in history] June 10: Apple II came out; Microsoft acquires gecad; The scientific and technological pioneer who invented the word](/img/0d/9f99eb3dcb73c912987b81fba71890.png)
[today in history] June 10: Apple II came out; Microsoft acquires gecad; The scientific and technological pioneer who invented the word "software engineering" was born
随机推荐
Mysql database operation - stored procedure, view, transaction, index, database backup
【小游戏】跑酷
买股票通过券商经理的开户链接开户资金是否安全?想开户炒股
RichView TRVStyle ParaStyles
测试要掌握的技术有哪些?软件测试必懂的数据库设计大全篇
数字化时代,企业须做好用户信息安全
Packet capturing and sorting out external Fiddler -- understanding the toolbar [1]
TensorRT 模型推理优化实现
[today in history] June 23: Turing's birthday; The birth of the founder of the Internet; Reddit goes online
Writing based on stm32
Tips for visiting the website: you are not authorized to view the recovery method of this page
[plug in -statistical] statistics the number of code lines and related data
RichView TRVStyle TextStyles
在线文本按行批量反转工具
2-5 basic configuration -win2003 add attack surface
isEmpty 和 isBlank 的用法区别
[today in history] May 31: the father of Amiga was born; The co developer of basic language was born; BlackBerry BBM shutdown
将PCAP转换为Json文件的神器:joy(安装篇)
【522. 最长特殊序列 II】
横向滚动的RecycleView一屏显示五个半,低于五个平均分布