Can't extract float value by JsonPath: $.metrics.covered_percent in github-pr-coverage-status-plugin

Viewed 277

I am facing below issue in publishing code coverage report to github using "github-pr-coverage-status-plugin"

ERROR: Build step failed with exception java.lang.IllegalArgumentException: Strange SimpleCov report! Can't extract float value by JsonPath: $.metrics.covered_percent from: {"/Users/iradchenko/sandbox/cli-width/index.js":{"path":"/Users/iradchenko/sandbox/cli-width/index.js","s":{"1":1,"2":1,"3":1,"4":6,"5":1,"6":5,"7":5,"8":1,"9":4,"10":2,"11":2,"12":1,"13":3},"b":{"1":[1,5],"2":[1,4],"3":[2,2],"4":[1,1]},"f":{"1":6},"fnMap":{"1":{"name":"cliWidth","line":6,"loc":{"start":{"line":6,"column":0},"end":{"line":6,"column":20}}}},"statementMap":{"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":36}},"2":{"start":{"line":4,"column":0},"end": ......

Any suggestion will be appreciated.

1 Answers
Related