See https://wiki.jenkins-ci.org/display/JENKINS/JUnit+Attachments+Plugin
On Thu, Mar 8, 2012 at 10:33 PM, Sami Tikka wrote:
> I mean, put the test result in the junit xml file and test stdout into
> another file. Configure Jenkins to publish junit xml files as test
> results and archive the std
I mean, put the test result in the junit xml file and test stdout into
another file. Configure Jenkins to publish junit xml files as test
results and archive the stdout files as build artifacts.
It is a bit painful but if you are short on memory, this trick should help you.
-- Sami
2012/3/7 Gaet
What do you mean by "store the logs as files that you archive" ?
Do you mean having two destination for logs, one for the data going into
junit and the other into raw log files?
I only have junit files. If the sum is huge it is because some contains lot
of stdout to have data about the current tes
If you want to save memory, store the logs as files that you archive
as build artifacts. Storing large logs inline in the junit xml files
will cost you a lot in memory. But if you have the memory, go for it.
Sun JVM option -XmxNNG sets the heap to NN gigabytes. Run "java -X" to
see what you can tu
On Mar 2, 4:44 am, Didier Durand wrote:
> Here it seems that you need only to increase memory parameters for
> your testing job alone not Jenkins as whole: you do that in the "java
> options" line of the build step config of your job: you say -Xms xxx -
> Ymx yyy with appropriate values for X & Y.
Hi,
Here it seems that you need only to increase memory parameters for
your testing job alone not Jenkins as whole: you do that in the "java
options" line of the build step config of your job: you say -Xms xxx -
Ymx yyy with appropriate values for X & Y.
regards
didier
to achieve that you have
oops... forget => Thank you very much for your support ;)
-
Gaetan
2012/3/2 Gaetan
> Hello
>
> I'm starting to have a java heap error when parsing the junit tests.
> I have a bunch of 3000 tests that might have some long logs (the total
> size of junit files is around 200 Mb), but I hope