int128 / int128/gradle-ssh-plugin

put method tips Failed SFTP MKDIR

Open
#285 5 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Groovy
Stars
325
Forks
59
Avg merge
5h 29m
Merged PRs (30d)
6

Description

Hi

plugin: 2.6.0

my operations
ssh.run {
session(remotes.syf) {
put from: "${project.rootDir}/builder/${project.name}", into: '/home/syf/sshupload'
}
}

console tips:

Failed SFTP MKDIR: syf:/home/syf/sshupload/tax_settle
Failed SFTP MKDIR: syf:/home/syf/sshupload/tax_settle/jsp
Failed SFTP MKDIR: syf:/home/syf/sshupload/tax_settle/jsp/grp
Failed SFTP MKDIR: syf:/home/syf/sshupload/tax_settle/jsp/grp/grwb
Failed SFTP MKDIR: syf:/home/syf/sshupload/tax_settle/jsp/grp/gspi
Failed SFTP MKDIR: syf:/home/syf/sshupload/tax_settle/jsp/grp/grwb
Failed SFTP MKDIR: syf:/home/syf/sshupload/tax_settle/jsp/grp/gspi
Failed SFTP MKDIR: syf:/home/syf/sshupload/tax_settle/jsp/lcm
Failed SFTP MKDIR: syf:/home/syf/sshupload/tax_settle/jsp/lcm/cpws
Failed SFTP MKDIR: syf:/home/syf/sshupload/tax_settle/jsp/lcm/tdtf
Failed SFTP MKDIR: syf:/home/syf/sshupload/tax_settle/jsp/lcm/tspi
Failed SFTP MKDIR: syf:/home/syf/sshupload/tax_settle/jsp/lcm/cpws
Failed SFTP MKDIR: syf:/home/syf/sshupload/tax_settle/jsp/lcm/tdtf

but files had uploaded. why?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Gradle SSH plugin 2.6.0 example using the put call inside an ssh.run/session block, then trace the SFTP MKDIR messages for the listed remote paths. Compare directory-creation results with the subsequent successful file uploads; done means the cause is established and the reported warnings or behavior are corrected.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
devops, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.