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

TAP Plugin not communicating with other plugins

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • tap-plugin
    • None
    • CentOS 6.4, Tomcat 7.0.53, Jenkins 1.562

      I have inherited a plugin (https://github.com/andrewcooke-isti/JiraTestResultReporter) that creates Jira issues from test results. It works fine with JUnit, but not with TAP. It's quite possible this is some kind of error in my plugin, so apologies in advance, but what seems to be happening is that when I call getFailedTests() on a TestResultAction instance, it returns an empty set, even when tests have failed.

      I have no idea how this information is created, but the underlying AbstractTestResultAction returns an empty set. So I wondered if perhaps you need to over-ride that? For Junit, that method returns a set of CaseResult instances that I can use to generate test reports.

      I should emphasize that your plugin seems to work fine otherwise - it parses the TAP output and generates tables of results.

      Please contact me (andrew@acooke.org) if you have more questions. I can modify my plugin to get more info if you need it.

      Thanks for your help and sorry this is so vague.

            kinow Bruno P. Kinoshita
            acooke andrew cooke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: