Skip to content

richbg/aws-java-sdk-plugin

 
 

Repository files navigation

Amazon Web Services SDK Plugin

Jenkins Plugin GitHub release Jenkins Plugin Installs

This plugin provides the AWS SDK for Java as a library to be used by other plugins. It follows the same versioning as the AWS SDK itself.

Commonly used modules have their own plugins, less used modules are in the aws-java-sdk plugin.

Plugins

aws-java-sdk-minimal

This plugins contains multiple modules. These have been grouped together as aws-java-sdk-core needs some classes in the same classpath and the structured classloaders in Jenkins don't permit having them in different plugins.

  • aws-java-sdk-core
  • aws-java-sdk-kms
  • aws-java-sdk-s3
  • aws-java-sdk-sts
  • jmespath-java

aws-java-sdk-*

Contains an individual AWS Java SDK module with the same name.

aws-java-sdk

Contains all AWS Java SDK modules not already provided through a separate plugin. It depends on all other aws-java-sdk plugins and is very heavyweight.

Adding a new plugin

If you need to use an API that is not yet published as its own plugin, feel free to submit a pull request to create a plugin for it. This will avoid pulling the all-in-one aws-java-sdk plugin.

  • Create a new directory aws-java-sdk-<name>. The name should be identical to the aws sdk module.
  • Create pom.xml. ** Depend on com.amazonaws:aws-java-sdk-<name>. Exclude all transitive dependencies. ** Transitive dependencies should be replaced by their equivalent plugin dependency. Most APIs only depend on aws-java-sdk-core and jmespath-java (called aws-java-sdk-jmespath in this project for clarity in the Jenkins ecosystem).
  • Create src/main/resource/index.jelly. Look at existing modules and adapt it.
  • Add the module to the root pom.xml.
  • Add the plugin dependency to aws-java-sdk and exclude the module from transitive dependencies.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%