Re: How does Jenkins know tests history

2012-11-25 Thread Christopher Orr
Yes, I believe that's correct -- test results are tracked based on their package and class name. On 23/11/2012 11:55, Yaron Naveh wrote: Hi Check this image. Jenkins says this test failure is a regression (e.g. fails this build, passed previous build). How does Jenkins know to match the resul

Re: How does Jenkins know tests history

2012-11-23 Thread clem
Hi, sry for the misunderstanding. I was looking at this, not sure if this would help you. CaseResults Jenkins-ci.org CaseResults Code

Re: How does Jenkins know tests history

2012-11-23 Thread Yaron Naveh
Hi Check this image. Jenkins says this test failure is a regression (e.g. fails this build, passed previous build). How does Jenkins know to match the result from both builds - after all Jenkins know about the test results only the xunit xml. So I guess Jenkins compare test names from the Xml? In

Re: How does Jenkins know tests history

2012-11-23 Thread clem
Hi, you mean the Jenkins Links / Permalinks correct ? http://javadoc.jenkins-ci.org/hudson/model/PermalinkProjectAction.Permalink.html I dont think, that Jenkins does a string Matching. Jenkins has its own Methods to get these information. For example you can use: item = hudson.model.Hudson.ins

How does Jenkins know tests history

2012-11-22 Thread Yaron Naveh
When a test fails Jenkins writes something like "Failing for the past 4 build (Since #12)". How does Jenkins know the test history - is it by string matching the class/test name to previous results? If so and the class name changes does it mean that all history context for its tests is also los