Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-38636

JiraTestResultReporter-plugin: does not work on Jenkins 2.X+

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major

      In trying to configure and test the JiraTestResultReporter, I'm finding that the documented way to configure test to issue mapping doesn't work. There is no + option for each test that is presented.

      The work around for not being able to edit the test to issue association would be to document the json file format and location.

      Job/Problem Recreation
      Freestyle job.
      Create XML file from within shell build step
      Add build step for Xunit result processing
      Configure tool - googleTest 1.6
      Post Build Step
      Configure Junit test result report
      Add JiraTestResultReporter, Add project ID and validate.
      Run job.
      Post job run navigate to job details and test results.
      At this point, the results are presented but no test associations are available.
      I currently don't have any failing tests but would like to have my test results posted.

      I do see that something has been processed - jenkins.log for the test run.
      Sep 30, 2016 9:43:52 AM org.jenkinsci.plugins.xunit.service.XUnitService infoSystemLogger
      INFO: [xUnit] - [GoogleTest-1.6] - 1 test report file(s) were found with the pattern 'test_detail.xml' relative to '/var/lib/jenkins/workspace/jira-import-tests' for the testing framework 'GoogleTest-1.6'.

            catalinluta Catalin Luta
            lbrigman_arris Larry Brigman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: