[ https://issues.jenkins-ci.org/browse/JENKINS-12810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159553#comment-159553 ]
Jaroslavas D. edited comment on JENKINS-12810 at 2/27/12 7:12 AM: ------------------------------------------------------------------ Have same problem. Moreover, if test class has, for example, 2 test methods - report get attached twice! h3.Let's look at my example: I have 3 test classes: # {{ProductCreateCopyDeleteSmokeWebTests}} (executes first and has 3 test methods) # {{RulesOverrideSmokeWebTests}} (executes second and has 1 test method) # {{RulesOverrideRuntimeSmokeWebTests}} (executes third and has 1 test method) After jenkins job execution I get following results in TestLink: ||1 TC||2 TC||3 TC|| |!1.jpg|thumbnail!|!2.jpg|thumbnail!|!3.jpg|thumbnail!| *P.S. Is it possible to prevent jenkins from attaching reports at all? was (Author: jar): Have same problem. Moreover, if test class has, for example, 2 test methods - report get attached twice! h3.Let's look at my example: I have 3 test classes: # {{ProductCreateCopyDeleteSmokeWebTests}} (executes first and has 3 test methods) # {{RulesOverrideSmokeWebTests}} (executes second and has 1 test method) # {{RulesOverrideRuntimeSmokeWebTests}} (executes third and has 1 test method) After jenkins job execution I get following results in TestLink: ||1 TC||2 TC||3 TC|| |!1.jpg|thumbnail!|!2.jpg|thumbnail!|!3.jpg|thumbnail!| > JUnit test results are getting wrongly attached to all the test cases > --------------------------------------------------------------------- > > Key: JENKINS-12810 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12810 > Project: Jenkins > Issue Type: Bug > Components: testlink > Affects Versions: current > Reporter: Vignesh Senapathy > Assignee: Bruno P. Kinoshita > Fix For: current > > Attachments: 1.jpg, 2.jpg, 3.jpg, last_tc.png, tc1.png, tc2.png > > > Hi, > I am using the Testlink Jenkins plugin and when i run my jobs in Jenkins the > Junit Test results are getting generated. This in turn calls the Testlink xml > rpc and attaches the results to the test case, but the test results are > attached wrongly. The 1st test case has 6 results, the next has 5 and so on > and the last one has 1 test result attached to it. I dont know if it is bug > which is causing this. Please let me know what seems to be the problems. Also > the execution flags are correctly rendered in this. which ever test case > fails is marked as failed and which passed is marked as passed. > Also I have one custom field which maps to the test suite name and test > classname. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira