[ 
https://issues.jenkins-ci.org/browse/JENKINS-11559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bruno P. Kinoshita resolved JENKINS-11559.
------------------------------------------

    Resolution: Fixed

Working fine with testlink-plugin 3.1 RC1

The trick here is the include pattern. For the sample project used here, I used 
the following include pattern:

**/target/surefire-reports/testng-results.xml

This way, it will include all the XML files that match this expression (it's an 
Apache Ant expression).

Have a look on the attachments for details of the job + testlink + maven pom 
project set up.

Cheers, 
Bruno
                
> Unable to find test results
> ---------------------------
>
>                 Key: JENKINS-11559
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-11559
>             Project: Jenkins
>          Issue Type: Bug
>          Components: testlink
>    Affects Versions: current
>         Environment: Windows XP/ Jenkins 1.432/ TestLink 1.9.3 (Prague) / 
> Jenkins TestLink Plugin 3.0.2/ Apache 2.2.21/ MySQL 5.5.16/ Maven 3.0.3/ 
> Tomcat 7.0.22
>            Reporter: b_c_t
>            Assignee: Bruno P. Kinoshita
>         Attachments: 001.png, 002.png, 003.png, 004.png, 005.png, 006.png, 
> testlink-3.1RC1.hpi
>
>
> I'm trying to use jenkins-testlink plugin for a test automation project. Test 
> project consists of Java, Selenium, TestNG, Maven, Jenkins and TestLink. So 
> I'm planing to use jenkins-testlink plugin to populate testcase statuses in 
> testlink. I'm using Jenkins 1.432, TestLink 1.9.3 (Prague) and Jenkins 
> TestLink Plugin 3.0.2. I've followed all the steps mentioned in tutorial to 
> configure my project. Only difference is my project is a multi-module project 
> and im using the parent pom file to drive the project (Single Build 
> Steps->Advanced). Goal is install (I have all the parameters defined inside 
> my parent and child pom files) When I build the project using Jenkins the 
> build is successfully executed but it is unable to populate testcase statuses 
> in TestLink. When I check the console log it says that its unable to find 
> TestNG xml files. This means that it's unable to find the testng-results.xml 
> files isn't it? Please help me on this. Thanks
> Console Output after the maven Build Success is:-
> Executing iterative Build Steps.
> Looking for the test results of TestLink test cases.
> Looking for test results in TestNG suites.
> Found [0] TestNG XML(s).
> Looking for test results in TestNG classes.
> Found [0] TestNG XML(s).
> Found 0 test result(s).
> Updating TestLink test cases.
> No emails were triggered.
> Finished: SUCCESS

--
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

        

Reply via email to