Как получить отчет о нарушении Пилинт от Дженкинс? - PullRequest
0 голосов
/ 08 января 2019

Я пытаюсь получить отчет о нарушениях с помощью плагина «Сообщить о нарушениях», могу распечатать файл pylint.out, но не могу показать те же результаты с помощью плагина «сообщить о нарушениях», описанного ниже - ошибка, с которой я столкнулся. Пожалуйста, дайте мне знать, если что-то здесь упущено.

10:47:48 D:\Jenkins\workspace\testing\dont_run>pylint -f parseable -d I0011,R0801 testsuite_repo  1>>pylint.out 
10:49:50 
**10:49:50 D:\Jenkins\workspace\testing\dont_run>exit 30 
10:49:51 Build step 'Execute Windows batch command' marked build as failure
10:50:36 ERROR: Step ‘Report Violations’ aborted due to exception: 
10:50:36 Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection to x.x.ads/X.X.X.X:8090**
10:50:36        at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
10:50:36        at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
10:50:36        at hudson.remoting.Channel.call(Channel.java:955)
10:50:36        at hudson.FilePath.act(FilePath.java:1071)
10:50:36        at hudson.FilePath.act(FilePath.java:1060)
10:50:36        at hudson.FilePath.write(FilePath.java:2101)
10:50:36        at hudson.plugins.violations.generate.ExecuteFilePath.execute(ExecuteFilePath.java:40)
10:50:36        at hudson.plugins.violations.generate.GenerateXML.execute(GenerateXML.java:40)
10:50:36        at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:122)
10:50:36        at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:25)
10:50:36        at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3085)
10:50:36        at hudson.remoting.UserRequest.perform(UserRequest.java:212)
10:50:36        at hudson.remoting.UserRequest.perform(UserRequest.java:54)
10:50:36        at hudson.remoting.Request$2.run(Request.java:369)
10:50:36        at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
10:50:36        at java.util.concurrent.FutureTask.run(Unknown Source)
10:50:36        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
10:50:36        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
10:50:36        at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)
**10:50:36 java.lang.SecurityException: agent may not mkdirs D:\Jenkins\testing\dont_run\jobs\26\violations**
10:50:36 See https://jenkins.io/redirect/security-144 for more details
10:50:36    at jenkins.SoloFilePathFilter.noFalse(SoloFilePathFilter.java:33)
10:50:36    at jenkins.SoloFilePathFilter.mkdirs(SoloFilePathFilter.java:58)
10:50:36    at hudson.FilePath.mkdirs(FilePath.java:3271)
10:50:36    at hudson.FilePath.access$1300(FilePath.java:212)
10:50:36    at hudson.FilePath$WritePipe.invoke(FilePath.java:2108)
10:50:36    at hudson.FilePath$WritePipe.invoke(FilePath.java:2103)
10:50:36    at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3085)
10:50:36    at hudson.remoting.UserRequest.perform(UserRequest.java:212)
10:50:36    at hudson.remoting.UserRequest.perform(UserRequest.java:54)
10:50:36    at hudson.remoting.Request$2.run(Request.java:369)
10:50:36    at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
10:50:36    at org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:19)
10:50:36    at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21)
10:50:36    at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
10:50:36    at jenkins.security.ImpersonatingExecutorService$2.call(ImpersonatingExecutorService.java:71)
10:50:36    at java.util.concurrent.FutureTask.run(Unknown Source)
10:50:36    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
10:50:36    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
10:50:36 Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 1X.X.X.176/1X.X.X.176:16793
10:50:36        at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
10:50:36        at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
10:50:36        at hudson.remoting.Channel.call(Channel.java:955)
10:50:36        at hudson.FilePath.act(FilePath.java:1071)
10:50:36        at hudson.FilePath.act(FilePath.java:1060)
10:50:36        at hudson.plugins.violations.ViolationsPublisher.perform(ViolationsPublisher.java:74)
10:50:36        at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
10:50:36        at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
10:50:36        at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
10:50:36        at hudson.model.Build$BuildExecution.post2(Build.java:186)
10:50:36        at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
10:50:36        at hudson.model.Run.execute(Run.java:1840)
10:50:36        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
10:50:36        at hudson.model.ResourceController.execute(ResourceController.java:97)
10:50:36        at hudson.model.Executor.run(Executor.java:429)
10:50:36 Caused: java.io.IOException: Failed to deserialize response to UserRequest:hudson.FilePath$WritePipe@179fb45
10:50:36    at hudson.remoting.Channel.call(Channel.java:963)
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...