Hi all,
I notice, my jobs workspace moved from the folder “/home/user/jenkins” to “/home/user/.jenkins” (note the dot).
Why is this happened?
What is the “.jenkins” directory?
Thanks.
Hi all,
I notice, my jobs workspace moved from the folder “/home/user/jenkins” to “/home/user/.jenkins” (note the dot).
Why is this happened?
What is the “.jenkins” directory?
Thanks.
You probably had a value set for the environment variable JENKINS_HOME
when it was running in /home/user/jenkins
and when you restarted it, you no longer had that value for JENKINS_HOME
. Set the environment variable in the shell that starts Jenkins and it will place its files in that directory.
JENKINS_HOME defined in the jenkins config file to be “/home/user/jenkins”.
Print the environment variable from Jenkins job and from terminal gives different paths.
From Jenkins job: /home/user/.jenkins
From Linux terminal: /home/user/jenkins
Is it correct?
I’m a little confused