Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-67254

Remove agent-to-controller FilePath calls from Violations plugin

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • violations-plugin
    • None

      JENKINS-67173 proposes the removal of support of agent-to-controller FilePath access.

      The following stack trace identifies such a call in Violations Plugin:

      Command UserRequest:hudson.FilePath$WritePipe@… created at
      	at hudson.remoting.Command.<init>(Command.java:81)
      	at hudson.remoting.Request.<init>(Request.java:113)
      	at hudson.remoting.Request.<init>(Request.java:108)
      	at hudson.remoting.UserRequest.<init>(UserRequest.java:77)
      	at hudson.remoting.Channel.call(Channel.java:999)
      	at hudson.FilePath.act(FilePath.java:1165)
      	at hudson.FilePath.act(FilePath.java:1154)
      	at hudson.FilePath.write(FilePath.java:2318)
      	at hudson.plugins.violations.generate.ExecuteFilePath.execute(ExecuteFilePath.java:40)
      	at hudson.plugins.violations.generate.GenerateXML.execute(GenerateXML.java:40)
      	at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:122)
      	at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:25)
      	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3329)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:211)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
      	at hudson.remoting.Request$2.run(Request.java:376)
      	at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:264)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      	at java.lang.Thread.run(Thread.java:829) 

       

            tomasbjerre Tomas Bjerre
            danielbeck Daniel Beck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: