Conversation
MarkEWaite
left a comment
There was a problem hiding this comment.
Please provide one or more examples of Jenkins plugins that will use this module. We don't want to add more modules unless there are Jenkins plugins that will consume those modules.
Please complete the pull request template, especially the "Testing done" section. Follow the detailed directions that are included in the comment within that section.
|
Hello @MarkEWaite Thanks for reviewing the PR. As far as understood each module in this repo is going to be a separated plugin that can be easily installed on Jenkins as required. All the modules that I have added are required by our project. And we need to migrate from aws java sdk v1 into v2 and get rid of Grab in our code. I hope that make sense to have my PRs merged. Thanks ! |
So you're proposing to create many more plugins but only using those new plugins from Groovy code in a Jenkins Pipeline? That seems like a mistake. Instead of calling the AWS CLI directly, you're loading Java libraries into the Jenkins controller so that you can call those libraries from Groovy code in the Pipeline. Call the AWS CLI directly rather than loading Java classes into the Jenkins controller. Several of the AWS SDK 2 plugins that you are proposing to create do not exist in the AWS SDK (v1) plugin. Can you explain how you are using the following components today, since they do not exist as AS SDK (v1) plugins? The STS AWS Java SDK module is already included in the aws-java-sdk2-core plugin. An explanation is provided in the plugin documentation. |
|
Hi @MarkEWaite, In the project we started with a docker container wrapping aws-cli and then our pipeline code delegating to this container. But mapping json-requests and responses is adding a lot of overhead compared to making the controller directly doing the API call. So for us it would be also good enough having this one extra plugin adding all remaining sdk.jars to the classpath as it was for v1. Thanks a lot |
The maintainers of the AWS Java SDK (v1) plugin consider it a mistake to have provided that plugin that includes all remaining SDK jars. They were unwilling to repeat that mistake for the AWS Java SDK v2. You're welcome to build your own private plugin that packages all the remaining SDK jars, but the Jenkins project does not plan to do that. |
Testing done
Submitter checklist