NullPointerException in JUnit build step

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Blocker
    • None
    • Environment:

      I configured Jenkins to store test results in the global Postgres database as described in the documentation. I ran a pipeline job which had worked. The "junit" step stored test results in the database, then failed because it threw a NullPointerException. I am not able to find any specifics about what caused the exception.

      Failed step log:

      03:01:26 null
      03:01:26 Saved 12587 test cases into database.

      Snippet from pipeline:

      def junit_pattern = '*_xunit.xml'
      junit testResults: junit_pattern, testDataPublishers: [[$class: 'StabilityTestDataPublisher'], [$class: 'AttachmentPublisher']]

            Assignee:
            Tim Jacomb
            Reporter:
            Jonathan Rogers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: