简体   繁体   English

我可以通过ssh从Jenkins传输文件,但是无法在远程目录中看到这些文件

[英]I am able to transfer files over ssh from Jenkins but unable to see those files in my remote directory

I have Jenkins pipeline, where I am cloning the source code into my Jenkins workspace & want to copy these files into my Dev Server's test directory. 我有Jenkins管道,在这里将源代码克隆到Jenkins工作区中,并想将这些文件复制到Dev Server的测试目录中。 So I have use publish over ssh plugin, Done all the required configuration. 因此,我已经使用ssh插件发布,完成了所有必需的配置。 I am able to transfer files using it. 我可以使用它来传输文件。

Here is the Jenkins console output: 这是Jenkins控制台输出:

这是Jenkins控制台输出

But I cannot see any files present into that directory on dev-server ie test 但是我看不到开发服务器上该目录中的任何文件,即测试

have you given your destination path which is your Dev server's test directory? 您是否提供了目标路径,这是开发服务器的测试目录? (Not just Dev server) If you have just given the Dev server then, it will be in the root of your dev server's file system. (不仅限于Dev服务器)如​​果您刚刚提供了Dev服务器,那么它将位于您dev服务器文件系统的根目录中。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 只有当我是 sudo 时,我才能将 ssh 连接到远程服务器 - I am able to ssh to remote server only if i am sudo 将文件从 AWS CodeBuild 传输到 AWS 外部的远程 linux 服务器 - Transfer files from AWS CodeBuild to a remote linux server outside of AWS 无法 ssh 我的 aws ec2 实例,其中包含我的 wordpress 文件 - Not able to ssh my aws ec2 instance which contains my wordpress files OSError: Errno 30Read-only file system: 我正在尝试使用 Lambda 将一些文件从 FTP 传输到 S3。 该代码适用于笔记本电脑,文件在 S3 中可见 - OSError: Errno 30Read-only file system: I am trying to transfer some files from FTP to S3 using Lambda. The code works on laptop, files seen in S3 当 ssh 进入 EC2 时,Jenkins 无法创建目录“/var/lib/jenkins/.ssh” - Jenkins unable to create directory '/var/lib/jenkins/.ssh' when ssh into EC2 每当我向 s3 添加新文件时,如何将文件从 s3 传输到我的 ec2 实例? - How do I transfer files from s3 to my ec2 instance whenever I add a new file to s3? 无法访问tmp目录中的文件 - Unable to access files on the tmp directory 在jenkins作业中将文件下载/传输到AWS Windows Server - Download/transfer files to aws windows server in jenkins job AWS EC2:SSH 工作,但我无法使用我的 VNC - AWS EC2: SSH works but I am unable to use my VNC 如何使用AWS Data Pipeline将文件从一个S3存储桶/目录传输到另一个 - How to transfer a file/files from one S3 bucket/directory to another using AWS Data Pipeline
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM