Comments (9)
Please do needful ASAP.
from cucumber-reporting-jenkins.
Attach json file
from cucumber-reporting-jenkins.
Please find the json files.
from cucumber-reporting-jenkins.
Did not notice, you have installed very old version, upgrade plugin then it will work
from cucumber-reporting-jenkins.
Hi,
I have upgraded it to latest version(Cucumber-JVm Reports version - 2.5.1) still it is giving issues.
[CucumberReportPublisher] Found 2 json files.
[CucumberReportPublisher] 1. Found a json file: cucumber.json
[CucumberReportPublisher] 2. Found a json file: features/.cucumber/stepdefs.json
[CucumberReportPublisher] Generating HTML reports
Build step 'Cucumber-JVM reports' changed build result to FAILURE
Finished: FAILURE
And when i click on cucumber-jvm report it is giving below error.
Error
Something went wrong with project Online-functional-test, build 1354
java.lang.NullPointerException
at net.masterthought.cucumber.util.Util.toValidFileName(Util.java:50)
at net.masterthought.cucumber.json.Feature.setReportFileName(Feature.java:176)
at net.masterthought.cucumber.json.Feature.setMetaData(Feature.java:157)
at net.masterthought.cucumber.ReportParser.setMetadata(ReportParser.java:91)
at net.masterthought.cucumber.ReportParser.parseJsonResults(ReportParser.java:61)
at net.masterthought.cucumber.ReportBuilder.generateReports(ReportBuilder.java:51)
at net.masterthought.jenkins.CucumberReportPublisher.perform(CucumberReportPublisher.java:138)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:74)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
at hudson.model.Run.execute(Run.java:1784)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)
Trying to generate report from following files. Make sure they are valid cucumber report files:
/var/lib/jenkins/jobs/Online-functional-test/builds/2017-01-17_11-54-49/cucumber-html-reports/cucumber.json
/var/lib/jenkins/jobs/Online-functional-test/builds/2017-01-17_11-54-49/cucumber-html-reports/features/.cucumber/stepdefs.json
Please find below attached json files
CucumberJson.txt
StepdefsJson.txt
from cucumber-reporting-jenkins.
This is not the most recent version
from cucumber-reporting-jenkins.
could you please let me know the latest version number and in Jenkins the latest version it is showing is 2.5.1.
from cucumber-reporting-jenkins.
The plugin manager shows the latest version as 2.5.1. I see that there is another plugin which has a slightly different ID that is "cucumber-reports" which has higher versions available. Should I be looking at this new plugin instead of the "cucumber-jvm-reports" plugin or is it a compatibility issue with the Jenkins version?
from cucumber-reporting-jenkins.
https://wiki.jenkins-ci.org/display/JENKINS/Cucumber+Reports+Plugin
from cucumber-reporting-jenkins.
Related Issues (20)
- Jenkins - Getting 404 error message when test case try to access captured screenshot during test report creation HOT 1
- Out Of Memory: Heap Space HOT 3
- Jenkins Test Result Trend gone. HOT 1
- com.google.gson.JsonSyntaxException HOT 1
- com.google.gson.JsonSyntaxException jenkins build fails HOT 5
- Error while generating report HOT 7
- HTTP ERROR 404 Problem accessing /job/Project_Name/cucumber-html-reports/. Reason:Not Found HOT 16
- cannot display the cucumber reports HOT 2
- Crash when step has no result section HOT 5
- not able to generate cucumber report through jenkins HOT 4
- In the overview-features page, the feature detail page does not match the feature link. HOT 1
- Cucumber report doesnt take variable as path HOT 2
- 404 when opening cucumber report HOT 5
- Missing report result - report was not successfully completed
- Cucumber reports are giving 'Publish Cucumber test result reportโ aborted due to exception : java null exception in jenkins HOT 2
- How to run multi features in Jenkins ? Cucumber HOT 1
- using pytest --cucumberjson HOT 2
- java.lang.NoSuchMethodError: org.apache.commons.io.FileUtils.copyInputStreamToFile HOT 1
- Jenkins Build stalls at cucumber reports creation. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cucumber-reporting-jenkins.