Re: Any idea - the best way to publish log files and leave them connected to build?

17 views
Skip to first unread message
Message has been deleted

Robert Sandell

unread,
Jan 5, 2015, 10:51:50 AM1/5/15
to jenkin...@googlegroups.com
Why not archive them with the rest of the build artifacts? Then they would stay as long/short as the build itself stays.

/B

On Mon, Jan 5, 2015 at 2:28 PM, Radka Nepejchalova <radka.nep...@gmail.com> wrote:
Hello,

we have complex build system and some of our jobs (few in each branch) perform tests during build. Results of those tests are saved to log/result files (each test-one file) which we need to analyze time to time.
Since now we have been doing that with rsync all those files (from all slaves to master) to one directory with Tomcat publishing them and there was then URL (just simply with the name of the file) in the jenkins' job log to access those.

The problem is that our build system is growing and there are too many of these files in the folder (millions) and it causes problem to the filesystem.
When we regularly delete them (let's say only younger than 30 days stay), then we sometimes loose also the useful ones which we would rather keep longer or 'forever'.

Would anyone have any idea how to keep these log files along with the specific build and still be able to access them easily like now? Maybe some plugin..like log publisher (Icouldn't find any)?

Any hints and suggestions would be highly appreciated,
Best,

Radka

--
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 jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/38d0def2-8963-4f7f-a05a-31796b8960af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Robert Sandell
Software Engineer
CloudBees Inc.

Aldrin Leal

unread,
Jan 5, 2015, 11:12:55 AM1/5/15
to jenkin...@googlegroups.com
I'd try syslog and ELK (ElaticSearch / LogStash / Kibana) and / or fluentd

--
-- Aldrin Leal, <ald...@leal.eng.br>
Master your EC2-fu! Get the latest ekaterminal public beta http://www.ingenieux.com.br/products/ekaterminal/
Reply all
Reply to author
Forward
0 new messages