Closed ghost closed 8 years ago
Plugin found 6 json files and I expect that some of them are not valid and that's why it crashes. Check what is going on with this.
Okay thanks. Yeah this was the case. Some of our JUnit tests produce JSON files in the target directory.
If this NPE could be caught and logged in greater detail, that would be more helpful than the exception. I'd be willing to create a pull request for this.
Relates to #120 on the obsolete fork.
Getting very similar looking results on version 1.0.0. Has only occurred since upgrading from 0.0.19. Project is being built on the master node. The issue seems to resolved when a file include pattern
**/cucumber-report.json
is manually specified. If the include pattern is left blank, then**/*.json
should be the default according to the field info, however I'm unable to confirm this. Our file exclude pattern is also left blank.Build snippet: