Thanks Nux for the suggestion. I have few more concerns. I use an 
enterprise version of Jenkins and I run the project in a linux slave. Is 
there any way i can get the path of the log. Using some $ commands as such. 
Please help me with this.

Thanks,
Ajith

On Tuesday, June 14, 2016 at 10:36:06 PM UTC+5:30, maciej wrote:
>
> Another method (without using Groovy) is to simply get path and do 
> whatever you need with it.
>
> buildLogPath="../builds/$BUILD_NUMBER/log"
>
>
> Might be a good idea to copy the file if you are going to change it or you 
> need to make sure it's not change during other operations.
>
> buildLogPath="../builds/$BUILD_NUMBER/log"
> cat $buildLogPath > ./build.log.copy
>
> # run reports asynchronously
> doreportrs ./build.log.copy &
>
>
> Regards,
> Nux.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/60c9cc0a-b775-4127-bf68-baf66ca352f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to