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

TAP published results hide JUnit published results

    Details

    • Similar Issues:

      Description

      Hello,

      I had a job with some unit tests which give results in JUnit. I published the results using "Publish JUnit test result report" in post-build actions, and it worked fine.

      Then I added separate build step with different unit tests, which give results in TAP format. I installed the TAP plugin and added "Publish TAP results" in post-build actions.

      Now, I can only see results from the TAP tests. JUnit test results seem to have vanished.

      Any idea what is wrong?

        Attachments

          Activity

          Hide
          kinow Bruno P. Kinoshita added a comment -

          Hmm, nice catch. The plug-in was overriding the testReport URL bound. Although the JUnit report was there, you couldn't access it because you would be redirected to the TAP report.

          Will push the changes and it will be fixed in the next release.

          Thanks.

          Show
          kinow Bruno P. Kinoshita added a comment - Hmm, nice catch. The plug-in was overriding the testReport URL bound. Although the JUnit report was there, you couldn't access it because you would be redirected to the TAP report. Will push the changes and it will be fixed in the next release. Thanks.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Bruno P. Kinoshita
          Path:
          src/main/java/org/tap4j/plugin/TapTestResultAction.java
          http://jenkins-ci.org/commit/tap-plugin/5b7a8947d60718924b3327ce33ce3353456247d2
          Log:
          [FIXED JENKINS-15419] Using a different URL and display name for the
          TAP Test Result action.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Bruno P. Kinoshita Path: src/main/java/org/tap4j/plugin/TapTestResultAction.java http://jenkins-ci.org/commit/tap-plugin/5b7a8947d60718924b3327ce33ce3353456247d2 Log: [FIXED JENKINS-15419] Using a different URL and display name for the TAP Test Result action.
          Hide
          kinow Bruno P. Kinoshita added a comment -

          Fixed in 1.6

          Show
          kinow Bruno P. Kinoshita added a comment - Fixed in 1.6
          Hide
          jhansche Joe Hansche added a comment -

          How funny, I was just noticing this and about to file an issue, but I see it's already been fixed. Has 1.6 already been published to the update center? I just installed 1.5 a few hours ago.

          Show
          jhansche Joe Hansche added a comment - How funny, I was just noticing this and about to file an issue, but I see it's already been fixed. Has 1.6 already been published to the update center? I just installed 1.5 a few hours ago.
          Hide
          kinow Bruno P. Kinoshita added a comment -

          Hi Joe, really funny, especially since I didn't imagine so many people would be using JUnit and TAP in the same project

          The synchronization should take a while for 1.6. Try again in few hours. I think it gets synchronized every four hours or so.

          Thanks.

          Show
          kinow Bruno P. Kinoshita added a comment - Hi Joe, really funny, especially since I didn't imagine so many people would be using JUnit and TAP in the same project The synchronization should take a while for 1.6. Try again in few hours. I think it gets synchronized every four hours or so. Thanks.
          Hide
          timm Tim Mason added a comment -

          Hi Bruno,
          thanks for the fix

          Show
          timm Tim Mason added a comment - Hi Bruno, thanks for the fix

            People

            • Assignee:
              kinow Bruno P. Kinoshita
              Reporter:
              timm Tim Mason
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: