当前位置:网站首页>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自动化、性能测试、代码检测、编程技术等。
微信搜索公众号:“无量测试之道”,或扫描下方二维码:
添加关注,让我们一起共同成长!
边栏推荐
- Usage details of staticlayout
- 论文阅读:Generative Adversarial Transformers
- [today in history] June 20: the father of MP3 was born; Fujitsu was established; Google acquires dropcam
- 视频编解码性能优化与实现
- [today in history] June 24: Netease was established; The first consumer electronics exhibition was held; The first webcast in the world
- [today in history] June 16: Oracle Bone Inscriptions was established; Microsoft MSX was born; The inventor of fast Fourier transform was born
- 第一次使用gcc和makefile编写c程序
- Which securities platform is the best and safest for a novice to open a stock trading account
- How fiddle uses agents
- 2-5 basic configuration -win2003 add attack surface
猜你喜欢

第一次使用gcc和makefile编写c程序

The first place on the list - the carrying rate of front-end equipment is up to 10%, and the top 10 suppliers of digital key solutions

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

STM32的C语言与汇编语言混合编程

Severe Tire Damage:世界上第一个在互联网上直播的摇滚乐队

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

简单ELK配置实现生产级别的日志采集和查询实践

微信小程序中生成二维码

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

【iptables&icmp】iptables默认策略中关于icmp协议的说明
随机推荐
多快好省,低门槛AI部署工具FastDeploy测试版来了!
js清空对象和对象的值:
CMU提出NLP新范式—重构预训练,高考英语交出134高分
A16z:元宇宙解锁游戏基础设施中的新机遇
math_ (function & sequence) meaning of limit & misunderstanding and symbol sorting / neighborhood & de centring neighborhood & neighborhood radius
分布式事务—基于消息补偿的最终一致性方案(本地消息表、消息队列)
Gateway microservice routing failed to load microservice static resources
JDBC与MySQL数据库
Is it reliable to invest in the inter-bank certificate of deposit fund? Is the inter-bank certificate of deposit fund safe
[today in history] June 19: iPhone 3GS launched; Pascal was born; Anti terrorist elite begins testing
读书,使人内心宁静
RichView TRVStyle TextStyles
[today in history] June 15: the first mobile phone virus; AI master simahe was born; Chromebook launch
apache、iis6、ii7独立ip主机屏蔽拦截蜘蛛抓取(适用vps云主机服务器)
Writing C program with GCC and makefile for the first time
Reading makes people quiet
The first in the industry! MOS sub evaluation model for subjective video quality experience that can run on mobile devices!
没错,是水的一篇
将PCAP转换为Json文件的神器:joy(安装篇)
无代码软件发展简史及未来趋势