On Thu, Apr 25, 2013 at 9:15 AM, Brian Johnson <brianjohnson5...@gmail.com> wrote: > I am running a job that calls a perl script. Inside the perl script a perl > module redirects stdout and stderr for the whole script and I get an error > saying there was an error redirecting stdout. If the script is run outside > of jenkins it doesn't have any problem doing this. Does jenkins prevent > stdout and stderr from being redirected and if so, is there a way to change > a setting to allow it to be redirected?
I don't think it is even possible to prevent i/o redirection. However, if you redirect to a file, you need write permission in the directory containing it to create the file and on the file itself if it already exists. If you have run the script and created the file as someone else, jenkins probably can't write to it even if it is in /tmp. -- Les Mikesell lesmikes...@gmail.com -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.