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 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 this case if a class is renamed so the full name of its
tests also changes and all this history data is lost. Is this correct?


Inline image 1


On Fri, Nov 23, 2012 at 12:35 PM, clem <clemensgoer...@googlemail.com
<mailto:clemensgoer...@googlemail.com>> wrote:

    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.instance.getItem("job_name")
    build = item.getLastBuild()

    So i guess its working with a List and without any matching tests,
    there shouldnt be
    lost datas.

    But if im wrong, im happy for any further information.

    Clem




--

I'm on Twitter (@YaronNaveh <http://twitter.com/#!/YaronNaveh>)



Reply via email to