Also, the Jenkins doc says user can change JENKINS_HOME directory: https://wiki.jenkins-ci.org/display/JENKINS/Administering+Jenkins
I don't quite understand this either. How can we change its home directory after it is installed? Like Java installation, $JAVA_HOME has to always points to the Java's installation directory, not any other directory. Can $JENKINS_HOME point to some place different from its installation directory? On Tuesday, July 21, 2015 at 3:36:32 AM UTC-4, Martin wrote: > > Hello, it's the first time to setup Jenkins Perforce Plugin. I just wanted > to setup a simple project to test the automatic build feature in Jenkins. > On my local machine, my project is: > > /home/martin/p4/test > > I created a workspace named jenkins_test, whose root > is /home/martin/p4/test. I can test syncing with Perforce. > > However, in Jenkins, whenever a build finishes, it changes my root > directory of my workspace from /home/martin/p4/test to > /var/lib/jenkins/jobs/.... on the Jenkins machine. This isn't the expected > behavior, right? Otherwise, I have to change the root of the workspace back > to /home/maritn/p4/test on my local machine after each build. > > In Jenkins, I created a user named "jenkins" and use that user name to > login Jenkins to start the build and do the configure. > > I have a few questions here: > 1) What' the problem here? > 2) Does the user "jenkins" on Jenkins have anything to do with the Linux > user who installed Jenkins and P4? > > Thank you for help. > > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/fae0c000-d81c-4d95-8dae-01db2ebd2935%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
