当前位置:网站首页>你应该懂些CI/CD
你应该懂些CI/CD
2022-07-04 15:43: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:运行后的效果图
边栏推荐
- Cann operator: using iterators to efficiently realize tensor data cutting and blocking processing
- Chow Tai Fook fulfills the "centenary commitment" and sincerely serves to promote green environmental protection
- 离线、开源版的 Notion—— 笔记软件Anytype 综合评测
- Cocoscreator event dispatch use
- Solution du système de gestion de la chaîne d'approvisionnement du parc logistique intelligent
- tp配置多数据库
- Is it safe for CITIC Securities to open an account online? Is the account opening fee charged
- 中信证券网上开户安全吗 开户收费吗
- 如何实现一个延时队列 ?
- VSCode修改缩进不成功,一保存就缩进四个空格
猜你喜欢
![[Huawei HCIA continuous update] SDN and FVC](/img/02/f86b509fdc515f14a4497090f0d070.png)
[Huawei HCIA continuous update] SDN and FVC

超大规模数仓集群在大型商业银行的落地实践

La 18e Conférence internationale de l'IET sur le transport d'électricité en courant alternatif et en courant continu (acdc2022) s'est tenue avec succès en ligne.

S2b2b solution for lighting industry: efficiently enable the industrial supply chain and improve the economic benefits of enterprises

解决el-input输入框.number数字输入问题,去掉type=“number“后面箭头问题也可以用这种方法代替

防火墙基础透明模式部署和双机热备

To sort out messy header files, I use include what you use
![[unity ugui] scrollrect dynamically scales the grid size and automatically locates the middle grid](/img/0d/a8f4424add7785375741bac4f0b802.png)
[unity ugui] scrollrect dynamically scales the grid size and automatically locates the middle grid

Developers, MySQL column finish, help you easily from installation to entry
![[HCIA continuous update] WLAN overview and basic concepts](/img/50/7eef28b7cfb0a72c97f3c50518ad6d.png)
[HCIA continuous update] WLAN overview and basic concepts
随机推荐
建筑建材行业经销商协同系统解决方案:赋能企业构建核心竞争力
新的职业已经出现,怎么能够停滞不前 ,人社部公布建筑新职业
Great Wall Securities security does not open a securities account
VB cannot access database stocks
[Huawei HCIA continuous update] SDN and FVC
CocosCreator事件派發使用
整理混乱的头文件,我用include what you use
利用win10计划任务程序定时自动运行jar包
Ble HCI flow control mechanism
R语言plotly可视化:plotly可视化互相重叠的直方图(historgram)、并在直方图的顶部边缘使用geom_rug函数添加边缘轴须图Marginal rug plots
中信证券网上开户安全吗 开户收费吗
智捷云——元宇宙综合解决方案服务商
Which domestic cloud management platform manufacturer is good in 2022? Why?
Two methods of MD5 encryption
Analysis of abnormal frequency of minor GC in container environment
Linear time sequencing
ARTS_20220628
Chow Tai Fook fulfills the "centenary commitment" and sincerely serves to promote green environmental protection
"Cannot initialize Photoshop because the temporary storage disk is full" graphic solution
Cann operator: using iterators to efficiently realize tensor data cutting and blocking processing