Android Jenkins CI SCP插件找不到要上载的文件
我让Jenkins CI编译了一个我正在开发的Android应用程序。编译它很棒,但它不会通过SCP上传发布版apk。我已经将源代码设置为bin/*并且它给出了以下错误。有人对我配置的错误有什么建议吗?我曾经让它工作在过去,但我忘了在我重新安装Fedora之前获取配置Android Jenkins CI SCP插件找不到要上载的文件,android,jenkins,Android,Jenkins,我让Jenkins CI编译了一个我正在开发的Android应用程序。编译它很棒,但它不会通过SCP上传发布版apk。我已经将源代码设置为bin/*并且它给出了以下错误。有人对我配置的错误有什么建议吗?我曾经让它工作在过去,但我忘了在我重新安装Fedora之前获取配置 [SCP] Connecting to smccloud.com ERROR: Failed to upload files 2: No such file at com.jcraft.jsch.ChannelSftp.throw
[SCP] Connecting to smccloud.com
ERROR: Failed to upload files
2: No such file
at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2289)
at com.jcraft.jsch.ChannelSftp._stat(ChannelSftp.java:1741)
at com.jcraft.jsch.ChannelSftp._stat(ChannelSftp.java:1758)
at com.jcraft.jsch.ChannelSftp.stat(ChannelSftp.java:1715)
at be.certipost.hudson.plugin.SCPSite.upload(SCPSite.java:188)
at be.certipost.hudson.plugin.SCPRepositoryPublisher.perform(SCPRepositoryPublisher.java:218)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:657)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:635)
at hudson.model.Build$RunnerImpl.post2(Build.java:161)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:604)
at hudson.model.Run.run(Run.java:1400)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:175)
Build step 'Publish artifacts to SCP Repository' changed build result to UNSTABLE
如果插件不适用于您,您可以使用带有expect的shell脚本,作为构建后的一个步骤,为您执行此操作 我在尝试复制到目标计算机上不存在的目录时遇到此错误。首先在目标上创建目录,这应该会消失,并且复制工作正常 在目标机器上,您会看到如下情况: 没有这样的文件或目录 当您尝试导航到不存在的目录时