On 08/28/2013 06:07 PM, James Turner wrote:
>
> On 28 Aug 2013, at 16:56, Scott Berry <sb356...@gmail.com
> <mailto:sb356...@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

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to