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

last-page.html and heam-dump.log are not added as junit attachment

XMLWordPrintable

      When a test is failing we get the last-page.html and a heap-dump.log to ease debugging and we put them under target/diagnostic/failed-test-name

      FailureDiagnostics class is responsible for adding every file under target/diagnostic/failed-test-name as a junit attachment using failed() method from TestWatcher.

      The issue os that this failed() method is called before the last-page.html and heap-dump.log are generated so they are not added as attachment.

            rverduci Romain Verduci
            rverduci Romain Verduci
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: