Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting following error in jenkins for publish selenium html reports #1

Closed
ranjith36 opened this issue May 12, 2017 · 2 comments
Closed

Comments

@ranjith36
Copy link

Publishing Selenium report...
Copying the reports.
parsing resultFile courgette-report/courgette.html/index.html
Unable to parse courgette-report/courgette.html/index.html: java.io.IOException: org.xml.sax.SAXParseException; systemId: file:/jenkins/jobs/***/builds/156/seleniumReports/courgette-report/courgette.html/index.html; lineNumber: 10; columnNumber: 5; The element type "link" must be terminated by the matching end-tag "".
parsing resultFile reports/tests/index.html
Unable to parse reports/tests/index.html: java.io.IOException: org.xml.sax.SAXParseExceptionpublicId: -//W3C//DTD HTML 4.01//EN; systemId: http://www.w3.org/TR/html4/strict.dtd; lineNumber: 81; columnNumber: 5; The declaration for the entity "ContentType" must end with '>'.
Set result to FAILURE

@ranjith36
Copy link
Author

It's Selenium html reports plugin!!

@prashant-ramcharan
Copy link
Owner

This library generates Cucumber reports only.

courgette-report/courgette.html/index.html is a Cucumber Report not a Selenium Report.

https://wiki.jenkins-ci.org/display/JENKINS/Cucumber+Reports+Plugin

You need to change your Jenkins publishising job to parse Selenium Html reports -- not Courgette / Cucumber Reports.

Perhaps change the path to where your Selenium reports are written to?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants