随笔分类 -  CI/CD

摘要:下载地址 http://maven.apache.org/download.cgi 选择 Binary zip archive 解压,并将解压目录复制 在环境变量中添加M2_HOME 在环境变量Path中添加 测试: C:\Users\Edward>mvn -version Apache Maven 阅读全文
posted @ 2020-10-29 20:42 Edward_han 阅读(297) 评论(0) 推荐(0)
摘要:其中,代码部署,各组件服务的安装、启动、配置、重启,服务健康检查都可以交给Ansible做 一个pipeline栗子 #!groovy pipeline { agent {node {label 'master'}} #确定在master主机上执行 environment { PATH="/bin: 阅读全文
posted @ 2020-09-25 17:32 Edward_han 阅读(544) 评论(0) 推荐(0)
摘要:安装Java # yum install java-1.8.0-openjdk -y # vim /etc/profile.d/java.sh export JAVA_HOME=/usr # . /etc/profile.d/java.sh # java -version 下载Jenkins的远程y 阅读全文
posted @ 2020-09-23 19:16 Edward_han 阅读(293) 评论(0) 推荐(0)
摘要:安装epel和方便工具 # yum install epel-release -y && yum install lrzsz -y 下载python3.6.5 # wget http://www.python.org/ftp/python/3.6.5/python-3.6.5.tar.xz 安装gc 阅读全文
posted @ 2020-09-22 17:39 Edward_han 阅读(220) 评论(0) 推荐(0)
摘要:依赖包安装 # yum install curl policycoreutils openssh-server openssh-clients postfix gitlab仓库安装 # curl -sS https://packages.gitlab.com/install/repositories 阅读全文
posted @ 2020-01-22 17:00 Edward_han 阅读(83) 评论(0) 推荐(0)