上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 58 下一页
摘要: Jenkins 多分支流水线 构建过程中报错。 [Pipeline] // node [Pipeline] End of Pipeline java.nio.charset.MalformedInputException: Input length = 1 at java.base/java.nio 阅读全文
posted @ 2022-11-04 11:27 VipSoft 阅读(449) 评论(0) 推荐(0)
摘要: 实际应用过程中,一般多分支流水线的方式用得比较多一些, master 对应 生成环境 develop 对应 测试环境, 将不同分支的代码构建到不同的环境中 添加 Jenkinsfile 文件 Jenkinsfile 内容见:Jenkins Pipeline 流水线 - 完整构建 Pipeline S 阅读全文
posted @ 2022-11-03 17:23 VipSoft 阅读(1490) 评论(0) 推荐(0)
摘要: Docker Jenkins 安装配置 Windows 2016 安装 Jenkins 前置条件可参考 Jenkins Pipeline 流水线 - 拉代码(SVN) + Maven 编译打包 Jenkins Pipeline 流水线 - 添加节点 使用代理 Jenkins Pipeline 流水线 阅读全文
posted @ 2022-11-03 09:43 VipSoft 阅读(1138) 评论(2) 推荐(1)
摘要: 可以通过参数的方式,指定构建的版本 有两种方式 界面添加 Pipeline Script 脚本配置 (需要Build 一次,然后生效,不知道有没有其它办法) General 界面添加 Pipeline Script Declarative Directive Generator pipeline { 阅读全文
posted @ 2022-11-03 09:38 VipSoft 阅读(1018) 评论(2) 推荐(1)
摘要: Jenkins Pipeline 流水线 - K8S kubectl 升级 使用代理节点 Remote SSH 远程执行命令进行升级 Remote SSH 方式 安装插件 SSH Pipeline Steps Pipeline SSH 脚本 credentialsId: 'K8SMaster' pi 阅读全文
posted @ 2022-11-02 16:59 VipSoft 阅读(706) 评论(0) 推荐(0)
摘要: Jenkins Pipeline 流水线 Publish over SSH 将jar上传到远程 Docker 服务器、执行编译命令生成镜像、将镜像上传到阿里仓库 Publish over SSH Jar包上传、编译、上传 生成上传 jar 包脚本配置 生成上传 Dockerfile 脚本配置 注意在 阅读全文
posted @ 2022-11-02 15:21 VipSoft 阅读(887) 评论(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 阅读(7184) 评论(0) 推荐(0)
摘要: 添加凭证 Pipeline script pipeline { agent any stages { stage('withCredentials 使用凭证') { steps { withCredentials([usernamePassword(credentialsId: 'DockerSer 阅读全文
posted @ 2022-11-02 09:44 VipSoft 阅读(3751) 评论(0) 推荐(0)
摘要: Jenkins 安装在 Windows 上 Docker 在Linux 上 流程 将 Docker 在 Jenkins 节点中维护 Pipeline 中指定某些阶段使用哪个节点 添加节点 Checking Java version in the PATH openjdk version "1.8.0 阅读全文
posted @ 2022-11-01 17:34 VipSoft 阅读(1607) 评论(0) 推荐(0)
摘要: Jenkins Pipeline 流水线 步骤 拉取SVN代码 -> Maven 构建 -> Docker 编译 -> 发布至阿里云仓库 -> K8S 更新 Jenkins插件安装 Localization: Chinese (Simplified) Subversion 【2.16.0】 --从S 阅读全文
posted @ 2022-11-01 14:47 VipSoft 阅读(3770) 评论(0) 推荐(0)
摘要: 介绍 Blue Ocean 是 pipeline 的可视化UI。同时兼容经典的自由模式的 job。Jenkins Pipeline 从头开始设计,但仍与自由式作业兼容,Blue Ocean 减少了经典模式下的混乱并为团队中的每个成员增加了清晰度。Blue Ocean 的主要特点包括: 全新的流水线控 阅读全文
posted @ 2022-10-31 17:32 VipSoft 阅读(165) 评论(0) 推荐(0)
摘要: Jenkins Pipeline 流水线 流水线既能作为任务的本身,也能作为 Jenkinsfile 使用流水线可以让我们的任务从UI手动操作,转换为代码化,像dockerfile 一样。从shell 命令到配置文件,更适合大型项目,可以让团队其他开发者同时参与进来, 完整语法 tools:添加工具 阅读全文
posted @ 2022-10-31 17:22 VipSoft 阅读(395) 评论(0) 推荐(0)
摘要: Jenkins 2361.2 + Maven Integration + SVN/GIT + Docker + 阿里云镜像 + Kubernetes(K8S) 本文用于学习,了解原理,和实际应用,有所差别,特别是 Post Steps 步骤中,方式很多,根据实际情况而定。 实际应用中,一般 Pipe 阅读全文
posted @ 2022-10-28 16:26 VipSoft 阅读(586) 评论(1) 推荐(3)
摘要: 安装插件 Localization: Chinese (Simplified) Subversion 配置国内源 http://mirror.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json 全局工具配置 Maven 配置 JDK 配置 阅读全文
posted @ 2022-10-26 18:03 VipSoft 阅读(86) 评论(0) 推荐(0)
摘要: [Docker Jenkins 安装配置](https://www.cnblogs.com/vipsoft/p/16813455.html) [Windows 2016 安装 Jenkins](https://www.cnblogs.com/vipsoft/p/16825894.html) [Jen 阅读全文
posted @ 2022-10-26 08:40 VipSoft 阅读(172) 评论(0) 推荐(0)
摘要: 打开 PowerShell Windows PowerShell 版权所有 (C) 2016 Microsoft Corporation。保留所有权利。 PS C:\Users\Administrator> [Net.ServicePointManager]::SecurityProtocol = 阅读全文
posted @ 2022-10-25 15:54 VipSoft 阅读(405) 评论(0) 推荐(0)
摘要: 由于低版本的安装插件很麻烦,插件版本依赖很坑,所以选择了安装最新版 Jenkins,并使用 docker 安装 阅读全文
posted @ 2022-10-21 14:47 VipSoft 阅读(288) 评论(2) 推荐(0)
摘要: 手动装插件太麻烦了,还是装最新版 Jenkins 配置源 然后在Manage Plugins -->Manage Plugins -->Advanced 中,把Update Site修改为国内插件地址 http://mirror.tuna.tsinghua.edu.cn/jenkins/update 阅读全文
posted @ 2022-10-21 13:55 VipSoft 阅读(246) 评论(0) 推荐(0)
摘要: CentOS 7上安装 Jenkins -- yum 方式 装插件太麻烦了,最后选择了 装JAVA 11,安装最版本 Jenkins https://mirrors.jenkins.io/war/ 开源 Devops 工具 Jenkins 在官方博客宣布,从 6 月 28 日发布的 Jenkins 阅读全文
posted @ 2022-10-21 12:17 VipSoft 阅读(1612) 评论(2) 推荐(0)
摘要: CentOS 7上安装 Jenkins 2.227 -- yum 方式 装插件的时候会报版本过低,建议安装 2.346 安装 Jenkins # [root@localhost ~]# ll /etc/yum.repos.d/ 总用量 40 -rw-r--r--. 1 root root 1664 阅读全文
posted @ 2022-10-20 18:58 VipSoft 阅读(185) 评论(0) 推荐(0)
上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 58 下一页