jenkinsci / publish-over-ssh-plugin

https://plugins.jenkins.io/publish-over-ssh/
113 stars 151 forks source link

I cannot push file to remote server with Publish Over SSH #330

Closed zerowindy closed 8 months ago

zerowindy commented 8 months ago

Jenkins and plugins versions report

Environment ```text Paste the output here ``` channel stopped SSH: Connecting from host [xxx] SSH: Connecting with configuration [xxx] ... SSH: Creating session: username [xxx], hostname [xxxx], port [xx] SSH: Connecting session ... SSH: Connected SSH: Opening SFTP channel ... SSH: SFTP channel open SSH: Connecting SFTP channel ... SSH: Connected SSH: cd [/home/job/] SSH: OK SSH: Disconnecting configuration [job] ... SSH: Transferred 0 file(s) Finished: SUCCESS

What Operating System are you using (both controller, and any agents involved in the problem)?

redhat

Reproduction steps

  1. setup pulish over ssh 's server
  2. setup a item and Send build artifacts over SSH
  3. build the project

Expected Results

I want to push the artifacts file to the remote server , and exec a command , but the command can exec successfully, and the file cannot push to remote server with the message above;

Actual Results

the command can exec successfully, and the file cannot push to remote server with the message above;

Anything else?

No response