Hi, Another point to check is user rights : does jenkins' user have access to this folder ?
cheers, Josselin 2012/11/6 Marek Gimza <marekgi...@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 >> >> >> >