I am not sure about MAC, but on linux there is a config file that can be modified to specify the user and group to which Jenkins should.
On Linux this file is /etc/sysconfig/jenkins The variables to add/modify: # Unix user account that runs the Jenkins daemon # Be careful when you change this, as you need to update # permissions of $JENKINS_HOME and /var/log/jenkins. # JENKINS_USER="<your-user-id-for-jenkins>" JENKINS_GROUP="<your-group-for-jenkins>" On Tue, Nov 6, 2012 at 2:54 PM, rakesh <rpa...@mobiquityinc.com> wrote: > Hi Josselin, > How do I check this? > > -Rakesh > > On Tuesday, November 6, 2012 2:43:39 PM UTC-5, Josselin Pierre wrote: >> >> Hi, >> >> Another point to check is user rights : does jenkins' user have access to >> this folder ? >> >> >> cheers, >> Josselin >> >> >> 2012/11/6 Marek Gimza <marek...@gmail.com> >> >>> Rakesh, >>> >>> Does this directory acutally exist? >>> >>> /Users/rpatel/Documents/**MobSources/XX_iOS >>> >>> Can use cd to this dir manually? >>> >>> Kind Regards, >>> Mgimza >>> >>> >>> >>> On Tue, Nov 6, 2012 at 2:13 PM, rakesh <rpa...@mobiquityinc.com> wrote: >>> >>>> I am fairly new user of Jenkins, just installed it on my local mac >>>> machine. >>>> I created a job to run few commands which run successfully from xterm, >>>> though coming across following error on jenkins. >>>> Not sure what I am doing wrong here? >>>> >>>> Job is running: >>>> ------------------ >>>> Execute shell: >>>> ----------------- >>>> pwd >>>> cd /Users/rpatel/Documents/**MobSources/XX_iOS >>>> cucumber --format json --out result.json >>>> >>>> >>>> --------------------- >>>> Console output: >>>> --------------------- >>>> Building in workspace /Users/Shared/Jenkins/Home/** >>>> workspace/XX-Calabash-iOS >>>> [XX-Calabash-iOS] $ /bin/sh -xe /var/folders/c0/** >>>> rzt3wbtj3j11yp13rfmhxyww00007c**/T/hudson4166321227994340301.**sh >>>> + pwd >>>> /Users/Shared/Jenkins/Home/**workspace/XX-Calabash-iOS >>>> + cd /Users/rpatel/Documents/**MobSources/XX_iOS >>>> /var/folders/c0/**rzt3wbtj3j11yp13rfmhxyww00007c** >>>> /T/hudson4166321227994340301.**sh: line 3: cd: /Users/rpatel/Documents/ >>>> **MobSources/XX_iOS: Not a directory >>>> Build step 'Execute shell' marked build as failure >>>> Finished: FAILURE >>>> >>>> >>>> Thanks, >>>> Rakesh >>>> >>>> >>>> >>> >>