Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JENKINS-73644] Use AWS SDK for Java 2.x #93

Merged
merged 3 commits into from
Dec 13, 2024

Conversation

basil
Copy link
Member

@basil basil commented Nov 26, 2024

Tested in context with artifact-manager-s3 plugin. Ran a Pipeline job and confirmed the artifact was uploaded to S3. Clicked on the "Validate S3 bucket configuration" button and verified that the validation succeeded against my S3 bucket.

for (Regions s : Regions.values()) {
regions.add(s.getDescription(), s.getName());
for (Region s : Region.regions()) {
regions.add(s.id(), s.id());
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically a change in behavior, as observed in the UI which now lacks region descriptions. Perhaps we could get these from the EC2 DescribeRegions API, although that requires read access. Or maybe this does not matter and we could dispense with displaying the region descriptions in the UI?

@basil basil changed the title Use AWS SDK for Java 2.x [JENKINS-73644] Use AWS SDK for Java 2.x Nov 27, 2024
pom.xml Outdated
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>aws-credentials</artifactId>
<!-- TODO https://github.com/jenkinsci/aws-credentials-plugin/pull/254 -->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@basil basil force-pushed the aws-java-sdk2 branch 4 times, most recently from ef8e7f4 to 12cf5eb Compare November 28, 2024 19:27
@basil basil added enhancement New feature or request and removed work-in-progress labels Nov 28, 2024
@basil basil requested a review from MarkEWaite November 28, 2024 19:34
Copy link

@MarkEWaite MarkEWaite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks very good to me. Thanks very much!

@basil basil marked this pull request as ready for review December 13, 2024 16:34
@basil basil requested a review from a team as a code owner December 13, 2024 16:34
@basil basil merged commit 0bc2603 into jenkinsci:master Dec 13, 2024
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants