Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/s3-plugin
  Commit: 682ee5462c5afe7846ef139f957c777f1f177cc7
      
https://github.com/jenkinsci/s3-plugin/commit/682ee5462c5afe7846ef139f957c777f1f177cc7
  Author: Joshua Kwan <[email protected]>
  Date:   2014-12-07 (Sun, 07 Dec 2014)

  Changed paths:
    M src/main/java/hudson/plugins/s3/callable/S3UploadCallable.java

  Log Message:
  -----------
  Allow S3 upload retry logic to function by draining remote to file

For local files, just grab the file name out of the path (poorly-named
getRemote()).

For remote files drain the file over the remoting channel over to a
tempfile on the master, then pass that tempfile into the client, then
delete the file in the finally block.

This allows AmazonS3Client's built in 'ResettableFileInputStream' to
kick in, which it does not when you directly pass a stream in the upload
request.

This only matters when proxying the upload through the master. All other
times, the file really exists on disk and the input stream is a normal
FileInputStream.


  Commit: d429a72b5667706db5a584aefac745e3a541d08a
      
https://github.com/jenkinsci/s3-plugin/commit/d429a72b5667706db5a584aefac745e3a541d08a
  Author: David Beer <[email protected]>
  Date:   2014-12-08 (Mon, 08 Dec 2014)

  Changed paths:
    M src/main/java/hudson/plugins/s3/callable/S3UploadCallable.java

  Log Message:
  -----------
  Merge pull request #29 from schrodinger/upload-via-filename

Upload files via filename to AmazonS3Client


Compare: 
https://github.com/jenkinsci/s3-plugin/compare/b18d67bcd66b...d429a72b5667

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to