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.

      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.

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

          Mirko Friedenhagen created issue -
          Mirko Friedenhagen made changes -
          Assignee New: Mirko Friedenhagen [ mfriedenhagen ]
          Mirko Friedenhagen made changes -
          Description Original: 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-out.txt. This greatly cleans up the console output. I would like to save these output files along with the other attachments automatically. New: 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.
          Mirko Friedenhagen made changes -
          Component/s New: junit-attachments [ 15688 ]
          Mirko Friedenhagen made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Mirko Friedenhagen made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 135726 ] New: JNJira + In-Review [ 203643 ]

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

              Created:
              Updated:
              Resolved: