Upload Jenkins build artifacts to Amazon S3
Java HTML
Pull request Compare This branch is 260 commits ahead of d6y:master.
Latest commit e120c68 Aug 23, 2016 @Jimilian Jimilian committed on GitHub Merge pull request #93 from fengxx/develop
FIXED IE and Chrome download issue when file path is window style

README.md

Install

Tested with Jenkins 1.563

  • Upload target/s3.hpi to your instance of Jenkins via ./pluginManager/advanced
  • Configure S3 profile: Manage Jenkins -> Configure System -> Amazon S3 profiles
  • Project -> Configure -> [x] Publish artifacts to S3 Bucket

Building

Just run mvn.

Usage

When activated, traditional (Freestyle) Jenkins builds will have a build action called S3 Copy Artifact for downloading artifacts, and a post-build action called Publish Artifacts to S3 Bucket.

For Pipeline users, the same two actions are available via the step step. You can use the snippet generator to get started.

Notes

  • Only the basename of source files is use as the object key name, an option to include the path name relative to the workspace should probably added.

Acknowledgements