centos安装jenkins并自动部署java web项目总结

安装jenkins:

wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
rpm --import https://pkg.jenkins.io/redhat-stable[......]

继续阅读

jenkins设置JAVA_HOME环境变量

https://stackoverflow.com/questions/16031515/java-home-is-not-defined-correctly-only-from-jenkins

 

For others, I had to add the PATH /usr/[......]

继续阅读