Re: xUnit and ctest results
It was not remarkable for me, but I do it all the time this way :) On 2014-01-22 13:39, ycollet wrote: > Thanks. I've done that and it worked. > But I am a little bit puzzled by the fact the nobody has yet noticed > the problem ... > > YC > > Le mardi 21 janvier 2014 14:03:00 UTC+1, ycollet a écrit : > > Hello, > > I've configured a project using cmake and I use ctest to generate > xml test results file. > This test results file is sent to jenkins xUnit plugin. > Each time I start jenkins, a new directory is created in my build > directory: Testing/Temporary/2014*/Test.xml > The problem I've got is that xUnit is using all the Test.xml files > to perform the result sum-up. > So, build after build, I've got an increasing slove in the graph > presented by xUnit. > How do I set up xUnit to use only the last test result file. > > Best regards, > > YC > > -- > 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. > For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: xUnit and ctest results
ycollet wrote: > Thanks. I've done that and it worked. > But I am a little bit puzzled by the fact the nobody has yet noticed > the problem ... What is the problem exactly? Jenkins can't be expected to know which files should be paid attention to and which should be ignored without specific rules. Jenkins does have an option to wipe out the workspace before beginning a job which would also take care of your duplicate test results problem. -- Jonathan Rogers -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: xUnit and ctest results
Thanks. I've done that and it worked. But I am a little bit puzzled by the fact the nobody has yet noticed the problem ... YC Le mardi 21 janvier 2014 14:03:00 UTC+1, ycollet a écrit : > > Hello, > > I've configured a project using cmake and I use ctest to generate xml > test results file. > This test results file is sent to jenkins xUnit plugin. > Each time I start jenkins, a new directory is created in my build > directory: Testing/Temporary/2014*/Test.xml > The problem I've got is that xUnit is using all the Test.xml files to > perform the result sum-up. > So, build after build, I've got an increasing slove in the graph presented > by xUnit. > How do I set up xUnit to use only the last test result file. > > Best regards, > > YC > > -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: xUnit and ctest results
On Tuesday, January 21, 2014 8:03:00 AM UTC-5, ycollet wrote: > > Hello, > > I've configured a project using cmake and I use ctest to generate xml > test results file. > This test results file is sent to jenkins xUnit plugin. > Each time I start jenkins, a new directory is created in my build > directory: Testing/Temporary/2014*/Test.xml > The problem I've got is that xUnit is using all the Test.xml files to > perform the result sum-up. > So, build after build, I've got an increasing slove in the graph presented > by xUnit. > How do I set up xUnit to use only the last test result file. > The simplest thing would be to have your build process wipe out the old ones before creating new ones. That's what I do. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
xUnit and ctest results
Hello, I've configured a project using cmake and I use ctest to generate xml test results file. This test results file is sent to jenkins xUnit plugin. Each time I start jenkins, a new directory is created in my build directory: Testing/Temporary/2014*/Test.xml The problem I've got is that xUnit is using all the Test.xml files to perform the result sum-up. So, build after build, I've got an increasing slove in the graph presented by xUnit. How do I set up xUnit to use only the last test result file. Best regards, YC -- 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. For more options, visit https://groups.google.com/groups/opt_out.