Branch: refs/heads/master
Home: https://github.com/jenkinsci/s3-plugin
Commit: ff7d34914fbd52a9e44ae7029194d0351c1671c8
https://github.com/jenkinsci/s3-plugin/commit/ff7d34914fbd52a9e44ae7029194d0351c1671c8
Author: Cyrille Le Clerc <[email protected]>
Date: 2016-12-23 (Fri, 23 Dec 2016)
Changed paths:
M src/main/java/hudson/plugins/s3/ClientHelper.java
M src/main/java/hudson/plugins/s3/Entry.java
M src/main/java/hudson/plugins/s3/S3BucketPublisher.java
Log Message:
-----------
[JENKINS-40654] Load the list of Amazon S3 regions from
{{c.a.r.RegionMetadataProvider}}, stop relying on a static lists and constants.
* Adapt the http proxy logic of the plugin to discover the S3 endpoint hostname
with `com.amazonaws.regions.Region#getServiceEndpoint("s3")` instead of the
hardcoded constant `s3.amazonaws.com`
* Replace
* `com.amazonaws.regions.Regions` by
`com.amazonaws.regions.RegionUtils#getRegionsForService("s3")`
* `com.amazonaws.services.s3.model.Region` by `com.amazonaws.regions.Region`
* For the default region used in some places of the plugin, introduce the
system property `hudson.plugins.s3.DEFAULT_AMAZON_S3_REGION` to override the
default `us-east-1`. Note that it would be better to no longer rely on a
default AWS Region and to ask the user to specify the desired AWS Region.
The list of AWS regions can be overridden specifying a file
`classpath://com/amazonaws/partitions/override/endpoints.json` matching the
format defined in
https://github.com/aws/aws-sdk-java/blob/master/aws-java-sdk-core/src/main/resources/com/amazonaws/partitions/endpoints.json
.
A solution to add this file in the classpath of Jenkins is to use the `java`
command line parameter `-Xbootclasspath/a:/path/to/boot/classpath/folder/` and
to locate `com/amazonaws/partitions/override/endpoints.json` in
`/path/to/boot/classpath/folder/`.
Commit: 2d1b795c62f8bc37ac02c69e4fb24bfc5b1092e6
https://github.com/jenkinsci/s3-plugin/commit/2d1b795c62f8bc37ac02c69e4fb24bfc5b1092e6
Author: Cyrille Le Clerc <[email protected]>
Date: 2016-12-23 (Fri, 23 Dec 2016)
Changed paths:
M README.md
M src/main/java/hudson/plugins/s3/ClientHelper.java
M src/main/java/hudson/plugins/s3/Entry.java
Log Message:
-----------
[JENKINS-40654] @Jimilian’s recommendations
* Document `classpath://com/amazonaws/partitions/override/endpoints.json` and
`hudson.plugins.s3.DEFAULT_AMAZON_S3_REGION` in README.md
* Use `@nonnull` and `@nullable` in helper methods (not in the whole
ClientHelper class to not change too many things at once)
* Cleanup imports
Commit: 945f3315a246888482561d12406fa39b84f8a3f2
https://github.com/jenkinsci/s3-plugin/commit/945f3315a246888482561d12406fa39b84f8a3f2
Author: Akbashev Alexander <[email protected]>
Date: 2016-12-23 (Fri, 23 Dec 2016)
Changed paths:
M README.md
M src/main/java/hudson/plugins/s3/ClientHelper.java
M src/main/java/hudson/plugins/s3/Entry.java
M src/main/java/hudson/plugins/s3/S3BucketPublisher.java
Log Message:
-----------
Merge pull request #100 from cyrille-leclerc/master
[JENKINS-40654] Make plugin compatible with storage backends compatible with
Amazon S3 (OpenStack Swift...)
Compare:
https://github.com/jenkinsci/s3-plugin/compare/92247d2d099b...945f3315a246
--
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.