jekins
jekins 安装 配置maven
maven 编译项目
https://jenkins.io/index.html Jenkins的war包下载
http://192.168.89.132:8080/jenkins
/home/xmh/.jenkins /home/xmh/.jenkins/workspace/ 默认打包目录
/home/xmh/soft/jenkins/apache-maven-3.2.3/conf
/home/xmh/soft/jenkins/my/settings.xml
打开/etc/profile 设置环境变量 查看PATH:echo $PATH 环境变量
export MAVEN_HOME=/home/xmh/soft/jenkins/apache-maven-3.2.3
export PATH=$MAVEN_HOME/bin:$PATH
source /etc/profile 立即生效
需要重启Jenkins才能识别maven环境变量