jenkinsci / publish-over-ssh-plugin

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

download only specific files for #245 #329

Open ttodua opened 8 months ago

ttodua commented 8 months ago

(On top of https://github.com/jenkinsci/publish-over-ssh-plugin/pull/245 PR)

like #328 , would this speed up things for users or not?

ttodua commented 8 months ago

@parvit

parvit commented 8 months ago

@ttodua If i understand correctly, the plugin should be able to understand if its being triggered by a git push and only take the files in the changeset?

ttodua commented 8 months ago

@ttodua If i understand correctly, the plugin should be able to understand if its being triggered by a git push and only take the files in the changeset?

yes I meant that. if that wont be complex and can be done within my proposal. if it's not possible to detect how it's being triggered by, then just maybe on trigger (would not matter what it trigger) check the last push commit and use that info