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

don't overwrite existing junit-results

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: tap-plugin
    • Labels:
      None
    • Environment:
      Linux
      Jenkins 1.621
      TAP Plugin 1.23
    • Similar Issues:

      Description

      We have in our projects some tests that emit result as JUnit-XML and some that write a TAP-file. Since installing the TAP-plugin, the testresults-graph only shows the TAP-results. This is bad, as we have ~70 TAP-tests, but 5000 JUnit-XML tests.

        Attachments

        1. junit.xml
          0.3 kB
        2. tap.hpi
          338 kB
        3. tap.t
          0.0 kB

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Vladislav Ponomarev
          Path:
          src/main/java/org/tap4j/plugin/AbstractTapProjectAction.java
          src/main/java/org/tap4j/plugin/TapProjectAction.java
          src/main/java/org/tap4j/plugin/TapTestResultAction.java
          src/test/java/org/tap4j/plugin/PublishersCombinationTest.java
          src/test/resources/org/tap4j/plugin/PublishersCombinationTest.zip
          http://jenkins-ci.org/commit/tap-plugin/bc46bc5d413cbb139a4c0931752f42a594728cd8
          Log:
          [FIXED JENKINS-29649] Now JUnit and TAP publisher do not clash with each other trying to draw a plot on a project page.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vladislav Ponomarev Path: src/main/java/org/tap4j/plugin/AbstractTapProjectAction.java src/main/java/org/tap4j/plugin/TapProjectAction.java src/main/java/org/tap4j/plugin/TapTestResultAction.java src/test/java/org/tap4j/plugin/PublishersCombinationTest.java src/test/resources/org/tap4j/plugin/PublishersCombinationTest.zip http://jenkins-ci.org/commit/tap-plugin/bc46bc5d413cbb139a4c0931752f42a594728cd8 Log: [FIXED JENKINS-29649] Now JUnit and TAP publisher do not clash with each other trying to draw a plot on a project page.
          Hide
          kinow Bruno P. Kinoshita added a comment -

          Pull request merged. Marking as resolved. Included in the next release. Thanks Vladislav for your contribution. Matthias, I've attached the .hpi file used, in case you'd like to try it before the release.

          Show
          kinow Bruno P. Kinoshita added a comment - Pull request merged. Marking as resolved. Included in the next release. Thanks Vladislav for your contribution. Matthias, I've attached the .hpi file used, in case you'd like to try it before the release.
          Hide
          kinow Bruno P. Kinoshita added a comment -

          2.0 released

          Show
          kinow Bruno P. Kinoshita added a comment - 2.0 released
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Vladislav Ponomarev
          Path:
          pom.xml
          src/main/java/org/tap4j/plugin/util/GraphHelper.java
          src/test/java/org/tap4j/plugin/PublishersCombinationTest.java
          src/test/resources/org/tap4j/plugin/PublishersCombinationTest.zip
          http://jenkins-ci.org/commit/tap-plugin/170bfce788bbd13be50fae603e5b0c2bb78bbd26
          Log:
          Added red testcase for JENKINS-29649 + Jenkins2 pipeline job.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vladislav Ponomarev Path: pom.xml src/main/java/org/tap4j/plugin/util/GraphHelper.java src/test/java/org/tap4j/plugin/PublishersCombinationTest.java src/test/resources/org/tap4j/plugin/PublishersCombinationTest.zip http://jenkins-ci.org/commit/tap-plugin/170bfce788bbd13be50fae603e5b0c2bb78bbd26 Log: Added red testcase for JENKINS-29649 + Jenkins2 pipeline job.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Vladislav Ponomarev
          Path:
          src/main/java/org/tap4j/plugin/TapProjectAction.java
          src/main/java/org/tap4j/plugin/TapTestResultAction.java
          src/main/java/org/tap4j/plugin/model/TapStreamResult.java
          src/main/java/org/tap4j/plugin/model/TapTestResultResult.java
          src/main/java/org/tap4j/plugin/util/GraphHelper.java
          http://jenkins-ci.org/commit/tap-plugin/2fbcc63feba07d583c5ec620fa47f5c509ca0f01
          Log:
          Fixing Jenkins 2 part of JENKINS-29649. Making the testcase green, migrating AbstractBuild -> Run to better support Jenkins 2 workflow jobs.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vladislav Ponomarev Path: src/main/java/org/tap4j/plugin/TapProjectAction.java src/main/java/org/tap4j/plugin/TapTestResultAction.java src/main/java/org/tap4j/plugin/model/TapStreamResult.java src/main/java/org/tap4j/plugin/model/TapTestResultResult.java src/main/java/org/tap4j/plugin/util/GraphHelper.java http://jenkins-ci.org/commit/tap-plugin/2fbcc63feba07d583c5ec620fa47f5c509ca0f01 Log: Fixing Jenkins 2 part of JENKINS-29649 . Making the testcase green, migrating AbstractBuild -> Run to better support Jenkins 2 workflow jobs.

            People

            • Assignee:
              kinow Bruno P. Kinoshita
              Reporter:
              kronn Matthias Viehweger
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: