当前位置:网站首页>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自动化、性能测试、代码检测、编程技术等。
微信搜索公众号:“无量测试之道”,或扫描下方二维码:
添加关注,让我们一起共同成长!
边栏推荐
- 转载文章:数字经济催生强劲算力需求 英特尔发布多项创新技术挖掘算力潜能
- Apache——阿帕奇简介
- 新手炒股开户选哪家证券平台办理是最好最安全的
- 【活动早知道】LiveVideoStack近期活动一览
- Single page application (SPA) hash route and historical API route
- CMU puts forward a new NLP paradigm - reconstructing pre training, and achieving 134 high scores in college entrance examination English
- [kotlin] basic introduction and understanding of its syntax in Android official documents
- You got 8K in the 3-year function test, but were overtaken by the new tester. In fact, you are pretending to work hard
- Online JSON to plaintext tool
- Arduino esp8266 web LED control
猜你喜欢

JDBC and MySQL databases

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

Usage differences between isempty and isblank
![[plug in -statistical] statistics the number of code lines and related data](/img/84/ad5e78f7e0ed86d9c21cabe97b9c8e.png)
[plug in -statistical] statistics the number of code lines and related data

Usage details of staticlayout

【iptables&icmp】iptables默认策略中关于icmp协议的说明

业内首个!可运行在移动设备端的视频画质主观体验MOS分评估模型!

Gateway microservice routing failed to load microservice static resources

Review the submission of small papers for 2022 spring semester courses
![Packet capturing and sorting out external Fiddler -- understanding the toolbar [1]](/img/5f/24fd110a73734ba1638f0aad63c787.png)
Packet capturing and sorting out external Fiddler -- understanding the toolbar [1]
随机推荐
ADB double click the power key command
论文阅读:Generative Adversarial Transformers
[plug in -statistical] statistics the number of code lines and related data
ByteDance Interviewer: how to calculate the memory size occupied by a picture
apache、iis6、ii7独立ip主机屏蔽拦截蜘蛛抓取(适用vps云主机服务器)
【插件-statistic】统计代码行数和相关数据
[today in history] June 16: Oracle Bone Inscriptions was established; Microsoft MSX was born; The inventor of fast Fourier transform was born
云成本优化有哪些优秀实践?
QEMU monitor usage
How to judge that the thread pool has completed all tasks?
Arduino esp8266 web LED control
分布式事务TCC浅析
isEmpty 和 isBlank 的用法區別
元宇宙标准论坛成立
[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 18: JD was born; The online store platform Etsy was established; Facebook releases Libra white paper
网上股票投资交流群安全吗?进群免费开户靠谱嘛?
Why are so many people keen on big factories because of the great pressure and competition?
Severe Tire Damage:世界上第一个在互联网上直播的摇滚乐队
Online JSON to plaintext tool