-
Bug
-
Resolution: Unresolved
-
Major
-
Jenkins ver. 1.632
Plugin version 0.0.11
There's no information about how this plugin is supposed to work.
From https://github.com/jenkinsci/behave-testresults-publisher-plugin it says to use behave options --format=json.pretty --outfile=resultsfilenameofyourchoice.json
I am doing this, and the output file is being kept as a build artifact and looks vaguely correct.
I configured the job and added post-build step Publish behave results as a report. But I don't see anywhere how to tell the plugin what the name of my json file is. So unsurprisingly this build step fails.
[BehaveReportPublisher] Compiling Behave Html Reports ...
ERROR: Build step failed with exception
java.lang.NullPointerException
at net.jenkins.BehaveReportPublisher.perform(BehaveReportPublisher.java:63)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
at hudson.model.Build$BuildExecution.post2(Build.java:185)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
at hudson.model.Run.execute(Run.java:1766)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:408)
Build step 'Publish behave results as a report' marked build as failure
Finished: FAILURE