Install Couldbees Jenkins As A Service With A Specified Java JDK On Linux

Issue

Installing CloudBees Jenkins Enterprise as a service with a specified Java JDK on Linux

Environment

CloudBees Jenkins Enterprise

Jenkins

Resolution

Programs started using service do not inherit the environment variables set in the shell’s path. You will need to modify /etc/default/Jenkins or /etc/sysconfig/jenkins (depending on the Linux distribution) to change the Java it uses.  The Jenkins_Home location can be set in this file also.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.