Yes a very good  point.

Only as a test, what would happen if you changed the permissions on the
XX_IOS dir to 777?

chmod -R 777 /Users/rpatel/Documents/MobSources/XX_iOS

Kind Regards,
Mgimza


On Tue, Nov 6, 2012 at 2:43 PM, rakesh <rpa...@mobiquityinc.com> wrote:

> Yes, I ran this cmd from xterm.
> Is there a permission issue here? I did think about adding a user with
> privileges, but wasn't able to add a user in jenkins.
>
> Thanks,
> Rakesh
>
>
> On Tuesday, November 6, 2012 2:33:27 PM UTC-5, mgimza wrote:
>>
>> 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
>>>
>>>
>>>
>>

Reply via email to