jenkins 流水线构建发布流程

jenkins 流水线构建发布流程:


1.输入一个任务名称:xxx.xxxx.WebApi.prod
2.选择-》pipeline
3.流水线 :pipeline script from SCM
4.SCM--Subversion
5.Repository URL: http://IP:8088/svn/XXX2023/XXXHuaweiLog

http://ip:808/svn/xxx2022/xxx/master
6.Credentials-->jenkins
7.local module directory-->.
8.repository depth-->infinity (选择-lgnore externals,cancel process on externals fail
9.check-out strategy --> always check out fresh copy (选择 quiet check-out)
10. 源码库浏览器 --自动
11.配置脚本路径--》./XXX.HuaweiLog/deploy/prod/Jenkinsfile

./xxx.yyy.Api/deploy/prod/Jenkinsfile
选择轻量级检出

 

注意:

k8s.yaml 文件里的  name,  namespace,labels.app svcname  等所有名称 都必须使用小写命名

request,limt CPU 内存设置

副本replicas设置

Build #5 (2023-10-22 14:23:11)  --》Console output 查看发布日志

posted @   大树2  阅读(158)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!
历史上的今天:
2019-02-17 Github上 10 个开源免费且优秀的后台控制面板(转)
2014-02-17 MVC 模型
点击右上角即可分享
微信分享提示