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/65d33303-0651-4fa6-1cc1-94dc48442aec%40mol.com.pl.
For more options, visit https://groups.google.com/d/optout.

Reply via email to