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

Blank page when accessing to per-file jslint issues #58

Open
ghusse opened this issue Mar 25, 2015 · 2 comments
Open

Blank page when accessing to per-file jslint issues #58

ghusse opened this issue Mar 25, 2015 · 2 comments

Comments

@ghusse
Copy link

ghusse commented Mar 25, 2015

Hello,

I'm using the violations plugin v0.7.11 on jenkins v1.605 to display jshint violations (in jslint format).

This plugin is displaying graphs according to violations found by jshint, it works well. Except that when I click on a specific file with violations, all I obtain is a blank page.

The xml file is generated to a subfolder named reports, I tried to generate it directly in the workspace root: no luck.

My source files are directly in the workspace root, and the xml file contains correct path (from the workspace root).

Any idea?

@jh125486
Copy link

jh125486 commented May 6, 2015

I'm also having this problem with v.0.7.11
The violations/file/FILE.xml is created with <violation/> elements, but there is no <line number/> elements within the xml file.
It seems to be due to the fact that every <file name=XXX/> element is a relative file path, and not an absolute one.

@patrick-hubert-adsk
Copy link

As a workaround, I am using jshint and passing the full path to inspect (e.g. $WORKSPACE/public/javascripts) and I do get the individual file details. Hoping this can help.

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

3 participants