当前位置:网站首页>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自动化、性能测试、代码检测、编程技术等。
微信搜索公众号:“无量测试之道”,或扫描下方二维码:
添加关注,让我们一起共同成长!
边栏推荐
- Interview: is bitmap pixel memory allocated in heap memory or native
- 第三批入围企业公示!年度TOP100智能网联供应商评选
- 【522. 最长特殊序列 II】
- isEmpty 和 isBlank 的用法區別
- 您的物联网安全性是否足够强大?
- Severe Tire Damage:世界上第一个在互联网上直播的摇滚乐队
- Tips for visiting the website: you are not authorized to view the recovery method of this page
- MFC CString to LPVOID
- What if win11 cannot use dynamic wallpaper? Solution of win11 without dynamic wallpaper
- Writing based on stm32
猜你喜欢
![[today in history] June 24: Netease was established; The first consumer electronics exhibition was held; The first webcast in the world](/img/f7/b3239802d19d00f760bb3174649a89.jpg)
[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 15: the first mobile phone virus; AI master simahe was born; Chromebook launch](/img/d4/413c84a75f16a09867cfaa3d7f8736.png)
[today in history] June 15: the first mobile phone virus; AI master simahe was born; Chromebook launch

3年功能测试拿8K,被刚来的测试员反超,其实你在假装努力

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

isEmpty 和 isBlank 的用法区别

R语言惩罚逻辑回归、线性判别分析LDA、广义加性模型GAM、多元自适应回归样条MARS、KNN、二次判别分析QDA、决策树、随机森林、支持向量机SVM分类优质劣质葡萄酒十折交叉验证和ROC可视化

2-5基础配置-Win2003增加攻击面

Simple file transfer protocol TFTP
![[today in history] June 20: the father of MP3 was born; Fujitsu was established; Google acquires dropcam](/img/54/df623fc1004e1dca5d369b4ed2608c.png)
[today in history] June 20: the father of MP3 was born; Fujitsu was established; Google acquires dropcam

Thesis reading: General advantageous transformers
随机推荐
Flask Foundation: template inheritance + static file configuration
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
[today in history] June 3: Microsoft launched Bing search engine; Larry Roberts starts ARPANET; The father of Visual Basic was born
初始线性回归
js清空对象和对象的值:
math_(函数&数列)极限的含义&误区和符号梳理/邻域&去心邻域&邻域半径
分布式事务TCC浅析
业内首个!可运行在移动设备端的视频画质主观体验MOS分评估模型!
isEmpty 和 isBlank 的用法區別
PSM summary
树莓派-环境设置和交叉编译
新手炒股开户选哪家证券平台办理是最好最安全的
分布式事务解决方案Seata-Golang浅析
2021年软件测试工具总结——模糊测试工具
TensorRT 模型推理优化实现
[today in history] June 19: iPhone 3GS launched; Pascal was born; Anti terrorist elite begins testing
STM32的C语言与汇编语言混合编程
[today in history] June 17: the creator of the term "hypertext" was born; The birth of Novell's chief scientist; Discovery channel on
The horizontal scrolling recycleview displays five and a half in one screen, which is lower than the five average distributions
math_ (function & sequence) meaning of limit & misunderstanding and symbol sorting / neighborhood & de centring neighborhood & neighborhood radius