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
; > > > 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

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
roups.com>] On Behalf Of Chris Mitchell Sent: Monday, June 18, 2012 3:18 PM To: jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com> Subject: Simple Execute Shell fails to execute, Jenkins reports success Hi, I am having getting Jenkins to communicate with the nodes. I

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

2012-06-18 Thread Chris Mitchell
June 18, 2012 3:18 PM > *To:* jenkinsci-users@googlegroups.com > *Subject:* Simple Execute Shell fails to execute, Jenkins reports success > > > > Hi, > > I am having getting Jenkins to communicate with the nodes. I am using > Jenkins 1.466 on a linux machine. It is c

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

2012-06-18 Thread Stanley, Jason
nkinsci-users@googlegroups.com Subject: Simple Execute Shell fails to execute, Jenkins reports success Hi, I am having getting Jenkins to communicate with the nodes. I am using Jenkins 1.466 on a linux machine. It is capable of logging in (notes from the web gui, as well as monitoring the connection vi

Simple Execute Shell fails to execute, Jenkins reports success

2012-06-18 Thread Chris Mitchell
Hi, I am having getting Jenkins to communicate with the nodes. I am using Jenkins 1.466 on a linux machine. It is capable of logging in (notes from the web gui, as well as monitoring the connection via another SSH session), but when I try to execute the following shell script: echo "Hello" > ~