Have you tried running the commands interactively outside Jenkins (but with an 
otherwise identical environment, same machine, user, working directory, input 
files, ...) to make sure it's actually related to Jenkins?

What happens when you log to a file outside the job workspace?

On 05.03.2014, at 16:56, David Koch <[email protected]> wrote:

> Hello, I've created a set of batch files saved under our SCM and is retrieved 
> by Jenkins on a regular basis (twice a day).
>  
> These batch are set on specific locations on the source tree and Jenkins' 
> jobs are configured to run them.
>  
> These batch perform some tasks (compiling, linking, whatever) but also logs 
> their output in a log file using :
>  
> "command" | tee -a logfile.txt
>  
> 'tee' is tee.exe from Msys : http://oldwiki.mingw.org/index.php/MSYS
>  
> It allows you to get the console output of "command" mirrored inside a text 
> file.
>  
> When I run the batch by hand, it works like a breeze, a blink of the eye or a 
> sneeze of the nose and it's done.
>  
> But when launched under Jenkins, it just crawls like hell.
>  
> I remove the ' | tee -a logfile.txt' part and it runs perfectly.
>  
> What's the cause of this impressive slowdown (from 4 files compiled per 
> second, 1 file every 4 or 5 seconds) ?
>  
> David
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to