-
Notifications
You must be signed in to change notification settings - Fork 66
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
Plugin uses wrong path for per-file pep8 xml-reports #36
Comments
I had the same problem with pylint |
@iamexe Is this still an issue or can it be closed? |
It is still an issue:
Jenkins 1.651.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Working on Windows
Launching pep8 check, it successfully creates XML report, but violations plugin roports error. It seems it uses absolute path somewhere instaed of relative. Please, at least help me to find a direction to look (i downloada the plugin src and trying to find to fix it):
generated xml file: C:\Jenkins\jobs\python-template-2\workspace\reports\pep8.xml
=============== 91 failed, 33 skipped, 1 error in 1.52 seconds ================
C:\Jenkins\jobs\python-template-2\workspace>exit 1
Build step 'Выполнить команду Windows' marked build as failure
ERROR: Publisher hudson.plugins.violations.ViolationsPublisher aborted due to exception
java.io.FileNotFoundException: C:\Jenkins\jobs\python-template-2\builds\2013-10-23_20-03-27\violations\file\C:\Jenkins\jobs\python-template-2\workspace\utilities\capable\admin.py.xml (Syntax error in filename or path)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(Unknown Source)
at java.io.FileOutputStream.(Unknown Source)
at hudson.FilePath.write(FilePath.java:1642)
at hudson.plugins.violations.generate.ExecuteFilePath.execute(ExecuteFilePath.java:42)
at hudson.plugins.violations.generate.GenerateXML.execute(GenerateXML.java:47)
at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:122)
at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:25)
at hudson.FilePath.act(FilePath.java:912)
at hudson.FilePath.act(FilePath.java:885)
at hudson.plugins.violations.ViolationsPublisher.perform(ViolationsPublisher.java:74)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:781)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:753)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706)
at hudson.model.Run.execute(Run.java:1690)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:230)
Finished: FAILURE
The text was updated successfully, but these errors were encountered: