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

Save redirected stdout/stderr output of junit-tests when using maven.test.redirectTestOutputToFile as additional attachments.

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      junit-attachments allows to save attachments found in a directory named like the test class. Using maven.test.redirectTestOutputToFile the surefire plugin saves the stdout/stderr output of the unittests in files called TESTCLASSNAME-output.txt. This greatly cleans up the console output. I would like to save these output files along with the other attachments automatically.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : mfriedenhagen
          Path:
          branches/JENKINS-5634/.classpath
          http://jenkins-ci.org/commit/27486
          Log:
          Branch the trunk to implement JENKINS-5634.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : mfriedenhagen Path: branches/ JENKINS-5634 /.classpath http://jenkins-ci.org/commit/27486 Log: Branch the trunk to implement JENKINS-5634 .
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : mfriedenhagen
          Path:
          trunk/hudson/plugins/junit-attachments/pom.xml
          trunk/hudson/plugins/junit-attachments/src/main/java/hudson/plugins/junitattachments/AttachmentPublisher.java
          trunk/hudson/plugins/junit-attachments/src/test/java/hudson/plugins/junitattachments/AttachmentPublisherTest.java
          trunk/hudson/plugins/junit-attachments/src/test/resources/hudson/plugins/junitattachments/workspace.zip
          http://jenkins-ci.org/commit/27575
          Log:
          Merge with https://svn.dev.java.net/svn/hudson/branches/JENKINS-5634/, fixes JENKINS-5634

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : mfriedenhagen Path: trunk/hudson/plugins/junit-attachments/pom.xml trunk/hudson/plugins/junit-attachments/src/main/java/hudson/plugins/junitattachments/AttachmentPublisher.java trunk/hudson/plugins/junit-attachments/src/test/java/hudson/plugins/junitattachments/AttachmentPublisherTest.java trunk/hudson/plugins/junit-attachments/src/test/resources/hudson/plugins/junitattachments/workspace.zip http://jenkins-ci.org/commit/27575 Log: Merge with https://svn.dev.java.net/svn/hudson/branches/JENKINS-5634/ , fixes JENKINS-5634
          Hide
          mfriedenhagen Mirko Friedenhagen added a comment -

          Resolved after merge to trunk.

          Show
          mfriedenhagen Mirko Friedenhagen added a comment - Resolved after merge to trunk.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : mfriedenhagen
          Path:
          trunk/hudson/plugins/junit-attachments/src/main/java/hudson/plugins/junitattachments/GetTestDataMethodObject.java
          http://jenkins-ci.org/commit/27579
          Log:
          JENKINS-5634 log only with level fine

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : mfriedenhagen Path: trunk/hudson/plugins/junit-attachments/src/main/java/hudson/plugins/junitattachments/GetTestDataMethodObject.java http://jenkins-ci.org/commit/27579 Log: JENKINS-5634 log only with level fine
          Hide
          mfriedenhagen Mirko Friedenhagen added a comment -

          Fixes are released.

          Show
          mfriedenhagen Mirko Friedenhagen added a comment - Fixes are released.

            People

            • Assignee:
              mfriedenhagen Mirko Friedenhagen
              Reporter:
              mfriedenhagen Mirko Friedenhagen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: