Issue Type: Bug Bug
Assignee: ramazanyich2
Attachments: jenkins_scp_bugReport.png
Components: scp-plugin
Created: 02/Dec/14 1:16 PM
Description:

It seems like SCP plugin is using SFTP to send publish artifact over SSH :

[SCP] Connecting to *****
ERROR: Failed to upload files
com.jcraft.jsch.JSchException: failed to send channel request
at com.jcraft.jsch.Request.write(Request.java:65)
at com.jcraft.jsch.RequestSftp.request(RequestSftp.java:47)
at com.jcraft.jsch.ChannelSftp.start(ChannelSftp.java:190)
at com.jcraft.jsch.Channel.connect(Channel.java:200)
at com.jcraft.jsch.Channel.connect(Channel.java:144)
at be.certipost.hudson.plugin.SCPSite.createChannel(SCPSite.java:163)
at be.certipost.hudson.plugin.SCPRepositoryPublisher.perform(SCPRepositoryPublisher.java:161)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
at hudson.model.Run.execute(Run.java:1765)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)
Build step 'Publish artifacts to SCP Repository' changed build result to UNSTABLE

I would use this plugin because my server doesn't handle SFTP but does handle SCP.
When configuring SCP host, everything seems ok, aka the plugin can connect to the server. But when sending a file from a job, the error above appears.
Job configuration attached

Environment: Jenkins ver. 1.578
plugin version 1.8
Project: Jenkins
Labels: plugin scp jenkins sftp
Priority: Blocker Blocker
Reporter: toto auzoo
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to