Re: Execute shell failure

2012-11-07 Thread rakesh
I wanted to see if I can use Jenkins to run automated tests: calabash, selenium etc. So I was just trying to run using execute shell option. Yes, I tried Jenkins app, works just fine for local test run. Thanks, Rakesh On Wednesday, November 7, 2012 5:16:51 PM UTC-5, sti wrote: > > The usual way

Re: Execute shell failure

2012-11-07 Thread Sami Tikka
The usual way to use Jenkins is for the developer to commit his changes to a version control repository, which Jenkins will monitor and when it sees a new commit, Jenkins will check out a copy of the sources under the Jenkins work dir and then execute some commands, typically to build and test t

Re: Execute shell failure

2012-11-07 Thread Josselin Pierre
Giving the admin right to a user depends on your system, not on Jenkins. I've never used a Mac, so I can't help you there. However, good practice is often to NOT give admin right to a Jenkins user, but just the rights it actually needs, and not be allowed to do no anything everywhere. Jenkins sh

Re: Execute shell failure

2012-11-07 Thread rakesh
I see user info in: /Library/LaunchDaemons/org.jenkins-ci.plist content of this .plist: rpatel$ cat org.jenkins-ci.plist http://www.apple.com/DTDs/PropertyList-1.0.dtd";> StandardOutPath /var/log/jenkins/jenkins.log StandardErrorPath /var/log/jenkins/jenkins.log EnvironmentV

Re: Execute shell failure

2012-11-06 Thread Marek Gimza
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,

Re: Execute shell failure

2012-11-06 Thread Marek Gimza
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 wrote: > Yes, I ran this cmd from xterm. > Is there a permissi

Re: Execute shell failure

2012-11-06 Thread rakesh
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 > > >> Rakesh, >> >> Does th

Re: Execute shell failure

2012-11-06 Thread rakesh
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

Re: Execute shell failure

2012-11-06 Thread Josselin Pierre
Hi, Another point to check is user rights : does jenkins' user have access to this folder ? cheers, Josselin 2012/11/6 Marek Gimza > Rakesh, > > Does this directory acutally exist? > > /Users/rpatel/Documents/MobSources/XX_iOS > > Can use cd to this dir manually? > > Kind Regards, > Mgimza >

Re: Execute shell failure

2012-11-06 Thread Marek Gimza
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 wrote: > I am fairly new user of Jenkins, just installed it on my local mac > machine. > I created a job to run

Execute shell failure

2012-11-06 Thread rakesh
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: