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/[......]

继续阅读