Re: Simple Execute Shell fails to execute, Jenkins reports success

2012-06-18 Thread Chris Mitchell
It looks like it was an issue with defaulting to using C Shell. I don't entirely understand why this worked, but specifying to use Bash resolved the issues. This is what my Execute Shell prompt looks like now and it executes great. #!/bin/sh -xe echo "Hello" > ~/tmp.txt Thanks for the help!

Re: Simple Execute Shell fails to execute, Jenkins reports success

2012-06-18 Thread Slide
Do you mean cat ~/tmp.txt? slide On Mon, Jun 18, 2012 at 2:23 PM, Chris Mitchell wrote: > This is the Console Output for the Execute Shell of "echo ~/tmp.txt".  Is > there any way to get more details about what exactly is going on? Any > debugging output possibly? > > Started by user auser > Bui

Re: Simple Execute Shell fails to execute, Jenkins reports success

2012-06-18 Thread Chris Mitchell
This is the Console Output for the Execute Shell of "echo ~/tmp.txt". Is there any way to get more details about what exactly is going on? Any debugging output possibly? Started by user auser Building remotely on node in workspace /u/auser/jenkins_bc/workspace/testing [testing] $ /bin/csh -xe /

Re: Simple Execute Shell fails to execute, Jenkins reports success

2012-06-18 Thread Andrew Melo
On Mon, Jun 18, 2012 at 4:05 PM, Chris Mitchell wrote: > I believe so.  When I log in via SSH using the same account which has been > configured for Jenkins and run the command, I get the desired output. Ah, but the environment for the slave is different than your interactive environment. Try doi

Re: Simple Execute Shell fails to execute, Jenkins reports success

2012-06-18 Thread Chris Mitchell
I believe so. When I log in via SSH using the same account which has been configured for Jenkins and run the command, I get the desired output. On Monday, June 18, 2012 2:42:09 PM UTC-6, LesMikesell wrote: > > On Mon, Jun 18, 2012 at 2:40 PM, Stanley, Jason > wrote: > > Silly question. > >

Re: Simple Execute Shell fails to execute, Jenkins reports success

2012-06-18 Thread Chris Mitchell
gt; *To:* jenkinsci-users@googlegroups.com > *Subject:* Re: Simple Execute Shell fails to execute, Jenkins reports > success > > > > Hi Jason, > > I've tried that with no success. Permissions are not an issue. It > appears it is not executing any of the shell comm

Re: Simple Execute Shell fails to execute, Jenkins reports success

2012-06-18 Thread Les Mikesell
On Mon, Jun 18, 2012 at 2:40 PM, Stanley, Jason wrote: > Silly question. > > > > Are you looking on the correct node that ran the job for the tmp.txt file? Also, are you sure you know how ~/tmp.txt will expand when run under the jenkins slave? -- Les Mikesell lesmikes...@gmail.com

RE: Simple Execute Shell fails to execute, Jenkins reports success

2012-06-18 Thread Stanley, Jason
Execute Shell fails to execute, Jenkins reports success Hi Jason, I've tried that with no success. Permissions are not an issue. It appears it is not executing any of the shell command and claiming it does. If it was executing the shell script, I would expect the console log output to

Re: Simple Execute Shell fails to execute, Jenkins reports success

2012-06-18 Thread Chris Mitchell
Hi Jason, I've tried that with no success. Permissions are not an issue. It appears it is not executing any of the shell command and claiming it does. If it was executing the shell script, I would expect the console log output to look something like this: Started by timer Building remotely o

RE: Simple Execute Shell fails to execute, Jenkins reports success

2012-06-18 Thread Stanley, Jason
Try running the echo command but define the actual path to the tmp.txt file. Example: echo "Hello" > /var/tmp/tmp.txt From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Chris Mitchell Sent: Monday, June 18, 2012 3:18 PM To: jenkinsci-users@googlegroups