摘要: Jenkins Pipeline 流水线 - K8S kubectl 升级 使用代理节点 Remote SSH 远程执行命令进行升级 Remote SSH 方式 安装插件 SSH Pipeline Steps Pipeline SSH 脚本 credentialsId: 'K8SMaster' pi 阅读全文
posted @ 2022-11-02 16:59 VipSoft 阅读(689) 评论(0) 推荐(0)
摘要: Jenkins Pipeline 流水线 Publish over SSH 将jar上传到远程 Docker 服务器、执行编译命令生成镜像、将镜像上传到阿里仓库 Publish over SSH Jar包上传、编译、上传 生成上传 jar 包脚本配置 生成上传 Dockerfile 脚本配置 注意在 阅读全文
posted @ 2022-11-02 15:21 VipSoft 阅读(871) 评论(0) 推荐(0)
摘要: Jenkins Pipeline 流水线 - 上传文件 Publish over SSH 执行命令 Jenkins插件安装 Publish over SSH 系统配置 生成代码 sshPublisher: Send build artifacts over SSH 需要在 生成 sshPublish 阅读全文
posted @ 2022-11-02 14:19 VipSoft 阅读(7073) 评论(0) 推荐(0)
摘要: 添加凭证 Pipeline script pipeline { agent any stages { stage('withCredentials 使用凭证') { steps { withCredentials([usernamePassword(credentialsId: 'DockerSer 阅读全文
posted @ 2022-11-02 09:44 VipSoft 阅读(3654) 评论(0) 推荐(0)