Answer the question
In order to leave comments, you need to log in
How do I make Jenkins ftp only the latest commit?
The bottom line is that Jenkins sends all files via FTP using the plugin , how to teach it to send only changed ones, i.e. only the last commit?)
There is an analysis of the answer at https://stackoverflow.com/questions/30287741/how-t...
But it's not entirely clear to me where / how to prescribe git show --pretty="format:" --name-only HEAD
Or maybe it's possible in a different way?
Answer the question
In order to leave comments, you need to log in
I send files using rsync (ssh or rsyncd):
- only new or changed files are sent
- files are changed atomically, i.e. the user who made the request while uploading files is guaranteed to receive either the old file or the new one. With the usual copying via FTP, there is a chance to catch a file that is not completely filled. And if this incomplete file suddenly catches some opcache - errors will be through the roof.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question