That's a perfectly reasonable question, I've made many mistakes like that before :)
I am looking on the correct node, and I've tried with multiple nodes with the same results. On Monday, June 18, 2012 1:40:02 PM UTC-6, Stanley, Jason wrote: > > Silly question. > > > > Are you looking on the correct node that ran the job for the tmp.txt file? > > > > > > > > *From:* jenkinsci-users@googlegroups.com [mailto: > jenkinsci-users@googlegroups.com] *On Behalf Of *Chris Mitchell > *Sent:* Monday, June 18, 2012 3:30 PM > *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 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 on node in workspace /u/auser/jenkins_bc/workspace/Test > Job > > [Test Job] $ /bin/csh -xe /var/tmp/hudson59733.sh > > + echo "hello" > /var/tmp/tmp.txt > > Finished: SUCCESS > > > On Monday, June 18, 2012 1:23:40 PM UTC-6, Stanley, Jason wrote: > > 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.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 via another SSH session), > but when I try to execute the following shell script: > > echo "Hello" > ~/tmp.txt > > > > Jenkins reports it is as a success: > > Started by timer > > Building remotely on node in workspace /u/auser/jenkins_bc/workspace/Test > Job > > [Test Job] $ /bin/csh -xe /var/tmp/hudson59733.sh > > Finished: SUCCESS > > > > But when I check, ~/tmp.txt does not exist, nor do any other simple Linux > commands (echo "Hello"; ls -l, etc) print any output to the console. They > simply don't appear to be being executed. > > > > Is there any place I can look to find more information about why this test > is not being executed or what exactly is going on? > > > > Thanks for the help, > > Chris >