摘要:NO: Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of
阅读全文
摘要:报错分析一:报错现象:jenkins访问一直处于等待状态 ### 报错现象 ~~~ tomcat日志显示如下信息: [root@server11 ~]# tail -f /usr/local/tomcat/logs/catalina.out WARNING [Handling GET /jenkin
阅读全文
摘要:一、Jenkins任务构建 ### Jenkins任务构建 ~~~ ——>立即构建 ~~~ ——>查看构建结果:结果路径 ~~~ ——>输出信息 ~~~ ——>观察tomcat网站服务器,代码和脚本 二、控制台输出 ### 控制台输出 ~~~ 由用户 admin 启动 Running as SYST
阅读全文
摘要:NO: Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of
阅读全文
摘要:一、创建credentials凭证 ### 创建凭证:credentials ~~~ # 步骤1: ~~~ 在 jenkins 中使用 git 插件从仓库中 pull 代码的时候会要求 jenkins 必须有 pull 权限(尤其是当git开启了ssh认证的时候), ~~~ 在配置 jenkins
阅读全文
摘要:一、Jenkins配置SSH ### 配置SSH目的说明 ~~~ 10.10.10.11:jinkens服务器上的maven将开发产生的*.war包。 ~~~ 通过SSH自动推送到远程tomcat 服务器上(10.10.10.12)。 ~~~ 需要手工配置ssh key。配合自动化推送 ~~~ 10
阅读全文
摘要:一、检查错误配置 ### 左侧:点击“系统管理” ~~~ 如果有“编码问题”错误,在Tomcat–>conf–>server.xml文件中修改即可 ~~~ 如果有”反向代理设置有误“错误,请忽略 [root@server11 ~]# head -1 /usr/local/tomcat/conf/se
阅读全文
摘要:一、Jenkins初始环境配置 ### 查看Jenkins管理员密码 [root@server11 ~]# cat /root/.jenkins/secrets/initialAdminPassword b1a9d328f9fc41e594158124eff03bbb 二、通过Chrome访问Jen
阅读全文
摘要:一、Jenkins插件安装——Deploy to container ### Jenkins常用插件配置说明 ~~~ 我们配置的是 git + maven 方式的 自动化部署 所以git和maven的相关插件是必须的 ~~~ 还有一个ssh用于机器间的文件传送 ~~~ 安装的过程请耐心等待 二、插件
阅读全文
摘要:一、部署Jenkins ### 官网下载jenkins: ~~~ 下载最新版 http://updates.jenkins-ci.org/download/war/2.130 二、部署Jenkins ### 部署jenkins.war到tomcat下: [root@server11 ~]# cp j
阅读全文
摘要:一、依赖环境——tomcat ### 官网下载tomcat: apache-tomcat-9.0.1.tar.gz 二、安装tomcat版本包 ### 部署tomcat版本包 [root@server11 ~]# tar -zxvf apache-tomcat-9.0.1.tar.gz -C /us
阅读全文
摘要:一、依赖环境——maven ### 下载maven版本包 [root@server11 ~]# wget http://mirror.bit.edu.cn/apache/maven/maven-3/3.5.3/binaries/apache-maven-3.5.3-bin.tar.gz 二、部署ma
阅读全文
摘要:一、基础环境配置 ### 系统部署规划 ~~~ centos7.x:10.10.10.11: github ~~~ centos7.x:10.10.10.11: 部署jenkins ~~~ centos7.x:10.10.10.12: 充当tomcat网站服务器:建议使用公网环境 ### 安装基础依
阅读全文
摘要:一、JDK部署 ### 下载JDK版本包 ~~~ jdk-8u151-linux-x64.tar.gz ~~~ 注意:不能用jdk9和jdk10 ### 解压JDK版本包 [root@server11 ~]# tar -zxvf jdk-8u151-linux-x64.tar.gz -C /usr/
阅读全文
摘要:一、Jenkins部署概述 ### jenkins ~~~ Jenkins是帮我们将代码进行统一的编译打包、还可以放到tomcat容器中进行发布。 ~~~ 意思是我们通过配置,将以前:编译、打包、上传、部署到Tomcat中的过程交由Jenkins, ~~~ Jenkins通过给定的代码地址URL,将
阅读全文
摘要:NO: Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of
阅读全文
摘要:一、Jenkins部署逻辑 Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before th
阅读全文
摘要:一、Gitlab构建分布式版本控制系统 ### 基础环境配置 ~~~ gitlab构建说明 ~~~ # Git构建分布式版本控制器——后台部署 ~~~ 官网地址:https://about.gitlab.com/downloads/#centos7 ### 配置环境规划 ~~~ centos7.x:
阅读全文
摘要:一、gitlab基础配置 ### 登录gitlab ~~~ # gitlab服务器的地址: ~~~ http://10.10.10.11 GITLAB占用80端口,访问时直接访问IP就可以 ~~~ (第一次会让你确认root账户登录的密码) ### 创建用户名记密码 ~~~ 创建8位新密码:1qaz
阅读全文
摘要:二一、实验二十一: ### 使用一条命令,创建/usr/local/tomcat/temp目录,并显示创建过程。 mkdir -pv /usr/local/tomcat/temp 二二、实验二十二: ### 将/usr/local/java/jre/lib/management/jmxremote.
阅读全文