-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins 1.580.1
Cucumber Performance Plugin 2.0.6
I have a problem where selecting the Performance Report link shows a message of "No data exists for Cucumber test runs, or the job is currently building. You may need to perform a build of your Cucumber testing project." despite the build completing successfully.
To reproduce this I created a simple job which has a cucumber JSON report file in the root of the workspace named report.json and added a post build action to generate the performance report. The JSON file and the feature file that originally created it are attached.
The console log for the build appears to show everything as successful:
Started by user anonymous
Building in workspace /opt/jenkins/data/jobs/Cucumber_Performance_Test/workspace
[workspace] $ /bin/sh -xe /tmp/hudson4566208210991663498.sh
+ touch report.json
[CucumberPerfRecorder] Starting Cucumber Performance Report generation...
[CucumberPerfRecorder] Reporting on performance for Cucumber_Performance_Test #1
[CucumberPerfRecorder] detected master build
looking in /opt/jenkins/data/jobs/Cucumber_Performance_Test/workspace
found files
[CucumberPerfRecorder] running project reports on 1 builds
[CucumberPerfRecorder] project report generation complete
Finished: SUCCESS
There are no errors logged in the Jenkins log during the build or when accessing the reports link. I have tried a couple of additional runs of the job in case more than one run was needed to produce reports but it still shows the same error.