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!
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
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 /
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
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.
> >
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
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
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
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
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
10 matches
Mail list logo