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

Remove agent-to-controller FilePath calls from Publish over SSH plugin

XMLWordPrintable

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

      https://github.com/jenkinsci/publish-over-ssh-plugin/blob/f75ee1db7a52f3cfddd138aae5149e02a4fc8258/src/main/java/jenkins/plugins/publish_over_ssh/BapSshKeyInfo.java#L66-L71 is such a call via https://github.com/jenkinsci/publish-over-plugin/blob/8857c829c4dec430aa945dec3bbb50df2be02b0d/src/main/java/jenkins/plugins/publish_over/BPBuildInfo.java#L98-L109

      Stack trace:

      Command UserRequest:hudson.FilePath$Read@… 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.callAsync(Channel.java:1030)
      	at hudson.FilePath.actAsync(FilePath.java:1242)
      	at hudson.FilePath.read(FilePath.java:2112)
      	at hudson.FilePath.read(FilePath.java:2099)
      	at jenkins.plugins.publish_over.BPBuildInfo.readFileFromMaster(BPBuildInfo.java:102)
      	at jenkins.plugins.publish_over_ssh.BapSshKeyInfo.getEffectiveKey(BapSshKeyInfo.java:70)
      	at jenkins.plugins.publish_over_ssh.BapSshHostConfiguration.setKey(BapSshHostConfiguration.java:315)
      	at jenkins.plugins.publish_over_ssh.BapSshHostConfiguration.configureAuthentication(BapSshHostConfiguration.java:295)
      	at jenkins.plugins.publish_over_ssh.BapSshHostConfiguration.createClient(BapSshHostConfiguration.java:241)
      	at jenkins.plugins.publish_over_ssh.BapSshHostConfiguration.createClient(BapSshHostConfiguration.java:226)
      	at jenkins.plugins.publish_over_ssh.BapSshHostConfiguration.createClient(BapSshHostConfiguration.java:48)
      	at jenkins.plugins.publish_over.BapPublisher$Performer.perform(BapPublisher.java:229)
      	at jenkins.plugins.publish_over.BapPublisher$Performer.access$000(BapPublisher.java:205)
      	at jenkins.plugins.publish_over.BapPublisher.perform(BapPublisher.java:158)
      	at jenkins.plugins.publish_over.BPCallablePublisher.invoke(BPCallablePublisher.java:65)
      	at jenkins.plugins.publish_over.BPCallablePublisher.invoke(BPCallablePublisher.java:38)
      	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:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
       

            Unassigned Unassigned
            danielbeck Daniel Beck
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: