Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skip excludes from downloading from github #328

Open
ttodua opened this issue Oct 22, 2023 · 1 comment
Open

skip excludes from downloading from github #328

ttodua opened this issue Oct 22, 2023 · 1 comment

Comments

@ttodua
Copy link

ttodua commented Oct 22, 2023

There is "excludes" field (https://www.jenkins.io/doc/pipeline/steps/publish-over-ssh/#sshpublisher-send-build-artifacts-over-ssh) in Jenkinfile- https://pastebin.com/TsFZzKjM so, does this plugin download whole repo from github and then filters out the files according to "excludes" from sending to ssh?

Is it possible that the plugin didn't even download those "excludes" list from github (thus, instead of downloading whole repo from github, it downloaded other files except "excludes"). would that speed up the whole process or not?

I ask that because we might have some lot files under "excludes" and maybe skipping them from downloading github repo could speed-up development (though I had doubt that in such case, instead of downloading repo .zip, the individual download might take longer?? please mention your thoughts).

@ttodua ttodua changed the title download specific files skip excludes from downloading from github Oct 22, 2023
@parvit
Copy link
Contributor

parvit commented Oct 24, 2023

@ttodua Do you mean that the plugin should treat a git repo as a special case and honor the .gitignore files ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants