Silly question. Are you looking on the correct node that ran the job for the tmp.txt file?
From: [email protected] [mailto:[email protected]] On Behalf Of Chris Mitchell Sent: Monday, June 18, 2012 3:30 PM To: [email protected] 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: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Chris Mitchell Sent: Monday, June 18, 2012 3:18 PM To: [email protected]<mailto:[email protected]> 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
