jenkinsci / jenkinsci/ssh2easy-plugin

SFTP entire contents of a directory

Open
#2 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
10
Forks
13
PR merge metrics
No merged PRs in 30d

Description

It would be great if it would be possible to SFTP download the entire contents of a directory and all subdirectories.

Usecase:
- I deploy a jenkins specifically for non IT business end user's to manage automated jobs, downloads, datafeeds etc. Overall this works pretty well and my user's know how to re-run jobs that fail, change the cron scheduling time etc.
- I'd like to use ssh2easy-plugin to SFTP the entire contents of an SFTP server which contains 3rd party data to which my company subscribes. I tried various wildcard patterns and couldn't get it to work, hence this email
- Single file works fine; but if an SFTP server has 10 or 20 files I'm interested in, I have to manually + explicitly a a build step for each one

Thanks!

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing single-file SFTP download build step in the ssh2easy-plugin code and tracing how its source path is handled. Define completion as downloading all files in the selected directory, including nested subdirectories, without requiring one build step per file; verify behavior against the existing single-file case.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.