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]] On Behalf Of Chris Mitchell
Sent: Monday, June 18, 2012 3:18 PM
To: [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

Reply via email to