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

Update Amazon ECR plugin to use AWS SDK for Java 2.x #187

Open
MarkEWaite opened this issue Aug 20, 2024 · 3 comments
Open

Update Amazon ECR plugin to use AWS SDK for Java 2.x #187

MarkEWaite opened this issue Aug 20, 2024 · 3 comments

Comments

@MarkEWaite
Copy link
Contributor

What feature do you want to see added?

Upgrade the AWS SDK for Java from v1 to v2 in the Amazon ECR plugin.

The AWS SDK for Java 1.x entered maintenance mode 31 July 2024 and will be end of life 31 Dec 2025. Refer to the January 2024 AWS blog announcement 1 and the July 2024 AWS blog announcement for more details.

Upstream changes

AWS SDK API plugin(s) will need to be developed and released for the AWS SDK for Java 2.x before this work can be done

Are you interested in contributing this feature?

No

@TobiX
Copy link
Contributor

TobiX commented Oct 15, 2024

AFAICS, migration can be done plugin-by-plugin since Maven GAVs and Java packages don't overlap (see https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/migration-whats-different.html), but it probably would be a good idea to create a library plugin (suite) for the AWS SDK 2.x first... Personally, I'm not very invested in this plugin (anymore), so this is probably stalled until anyone comes forward and does the work...

@wp4nuv
Copy link

wp4nuv commented Dec 6, 2024

I'm willing to take a look. AWS SDK 2 for Java documentation has guidelines for migrating from 1 to 2 using a tool. We use Jenkins for CI/CD, and we will soon integrate additional AWS services, including this one.

@MarkEWaite
Copy link
Contributor Author

MarkEWaite commented Dec 6, 2024

I'm willing to take a look. AWS SDK 2 for Java documentation has guidelines for migrating from 1 to 2 using a tool. We use Jenkins for CI/CD, and we will soon integrate additional AWS services, including this one.

That would be great. The Amazon Web Services SDK 2 API plugins for Jenkins have been released and are included in the plugin bill of materials 3761.vd922730f0fd2 and later.

You can also refer to the notes from @basil in JENKINS-73638 and his pull requests to two plugins that use the SDK v2 API plugin:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants