-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
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']]
Originally reported by jrogers, imported from: NullPointerException in JUnit build step
- assignee:
timja
- status: In Review
- priority: Blocker
- component(s): junit-sql-storage-plugin
- resolution: Unresolved
- votes: 0
- watchers: 2
- imported: 20251212-090250
Raw content of original issue
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']]
environment
Jenkins 2.263.1 from official Docker image<br/>
OpenJDK Runtime Environment 1.8.0_242-b08<br/>
PostgreSQL 9.5<br/>
Relevant Plugins:<br/>
junit 1.46<br/>
test-stability 2.3<br/>
junit-attachments 1.6<br/>
junit-sql-storage 0.2<br/>
database-postgresql 1.2