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

Support junit testDataPublishers

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      It would be nice if withMaven could support junit extensions such as testDataPublishers

      Previously I was using the following

      step([$class: 'JUnitResultArchiver',
       testResults: '**/target/surefire-reports/TEST-*.xml',
       testDataPublishers: [[$class: 'AttachmentPublisher']]
      ])
      

      and I have no equivalence when using withMaven.

        Attachments

          Activity

          Show
          cleclerc Cyrille Le Clerc added a comment - - edited Note for myself https://github.com/jenkinsci/junit-attachments-plugin/blob/master/src/main/java/hudson/plugins/junitattachments/AttachmentPublisher.java
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Cyrille Le Clerc
          Path:
          jenkins-plugin/pom.xml
          jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/publishers/JunitTestsPublisher.java
          jenkins-plugin/src/main/resources/org/jenkinsci/plugins/pipeline/maven/publishers/JunitTestsPublisher/config.jelly
          jenkins-plugin/src/main/resources/org/jenkinsci/plugins/pipeline/maven/publishers/JunitTestsPublisher/help-ignoreAttachments.html
          http://jenkins-ci.org/commit/pipeline-maven-plugin/38b7341775d3184d3e4ef3ab049b59f4d720c995
          Log:
          JENKINS-44226 add support for the jenkins junit-attachments plugin

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Cyrille Le Clerc Path: jenkins-plugin/pom.xml jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/publishers/JunitTestsPublisher.java jenkins-plugin/src/main/resources/org/jenkinsci/plugins/pipeline/maven/publishers/JunitTestsPublisher/config.jelly jenkins-plugin/src/main/resources/org/jenkinsci/plugins/pipeline/maven/publishers/JunitTestsPublisher/help-ignoreAttachments.html http://jenkins-ci.org/commit/pipeline-maven-plugin/38b7341775d3184d3e4ef3ab049b59f4d720c995 Log: JENKINS-44226 add support for the jenkins junit-attachments plugin
          Show
          cleclerc Cyrille Le Clerc added a comment - See https://github.com/jenkinsci/pipeline-maven-plugin/pull/54
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Cyrille Le Clerc
          Path:
          jenkins-plugin/pom.xml
          jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/publishers/JunitTestsPublisher.java
          jenkins-plugin/src/main/resources/org/jenkinsci/plugins/pipeline/maven/publishers/JunitTestsPublisher/config.jelly
          jenkins-plugin/src/main/resources/org/jenkinsci/plugins/pipeline/maven/publishers/JunitTestsPublisher/help-ignoreAttachments.html
          http://jenkins-ci.org/commit/pipeline-maven-plugin/8834e3f965d95b10fbf2e36f18454f6dbd5790d0
          Log:
          Merge pull request #54 from jenkinsci/JENKINS-4426-2

          JENKINS-44226 add support for the jenkins junit-attachments plugin

          Compare: https://github.com/jenkinsci/pipeline-maven-plugin/compare/43f9b0dbc43a...8834e3f965d9

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Cyrille Le Clerc Path: jenkins-plugin/pom.xml jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/publishers/JunitTestsPublisher.java jenkins-plugin/src/main/resources/org/jenkinsci/plugins/pipeline/maven/publishers/JunitTestsPublisher/config.jelly jenkins-plugin/src/main/resources/org/jenkinsci/plugins/pipeline/maven/publishers/JunitTestsPublisher/help-ignoreAttachments.html http://jenkins-ci.org/commit/pipeline-maven-plugin/8834e3f965d95b10fbf2e36f18454f6dbd5790d0 Log: Merge pull request #54 from jenkinsci/ JENKINS-4426 -2 JENKINS-44226 add support for the jenkins junit-attachments plugin Compare: https://github.com/jenkinsci/pipeline-maven-plugin/compare/43f9b0dbc43a...8834e3f965d9
          Hide
          cleclerc Cyrille Le Clerc added a comment -
          Show
          cleclerc Cyrille Le Clerc added a comment - Vincent Latombe can you please test https://github.com/jenkinsci/pipeline-maven-plugin/releases/tag/pipeline-maven-2.3.1-beta-1 . Download details on the release notes page.
          Hide
          cleclerc Cyrille Le Clerc added a comment -

          Verified with Vincent Latombe

          Show
          cleclerc Cyrille Le Clerc added a comment - Verified with Vincent Latombe

            People

            • Assignee:
              cleclerc Cyrille Le Clerc
              Reporter:
              vlatombe Vincent Latombe
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: