On 08/28/2013 06:07 PM, James Turner wrote:

On 28 Aug 2013, at 16:56, Scott Berry <sb356607@gmail.com> wrote:

Is there a way to make Jenkins where it will notify people when it 
uploads or just have a page where it says "Jenkins is uploading please 
wait a while and try this download again."  This way we don't get 
corrupted files?

Quick answer is there's a way to make Jenkins do anything, longer answer is I don't know of an easy way that's trivial (or I would have done it already) Ideally Jenkins would upload to a non-public ('incoming')  dir and trigger some operation on the server to link / copy the files when the upload succeeds, I just didn't come up with an easy way to make that happen yet.

Can't you use rsync instead of scp? It can upload to a temporary directory and move the files when they are successfully transfered, and uses temporary files anyway. I believe it also deletes the temporaries if the transfer is interrupted.

Cheers, Edheldil