> Am 12.03.2019 um 13:59 schrieb Lakshmi Narasimhan 
> <[email protected]>:
> 
> Hi Jenkins Devs,
> 
> In teamconcert-plugin, I am working on a feature to collect some diagnostic 
> data when the plugin runs in a build. I intend to store this information in a 
> text file under the build root directory, for instance 
> <jenkinsdir>/jobs/<jobname>/builds/<buildnumber>/teamconcert/diagnostics/....The
>  files will be stored when the plugin runs in the master context. 
> 
> I don't intend to expose this data thorugh the UI. Admins would collect these 
> files from the build directory when required from the Jenkins master.
> 
> I have two questions
> 1. Is it OK for the plugin to access build root directory 
> (build.getRootDir())and store content (hence performing file operations)?

Yes. E.g. most reporting plugins store their results there. 

> 2. Is there a way for the plugin to upload text files to the build, such that 
> they are available as downloads from the Jenkins build? Although not a 
> necessity right now, I want to know if such an option exists. 

Did you check the list of extension points?

> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/25178378-c0ac-435b-a36c-748f95b236d8%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-dev/25178378-c0ac-435b-a36c-748f95b236d8%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/5C4C113E-6142-4566-96EC-514C87AA8EA9%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to