jenkinsci / aws-beanstalk-publisher-plugin

Jenkins AWS Elastic Beanstalk Publisher
https://plugins.jenkins.io/aws-beanstalk-publisher-plugin/
MIT License
13 stars 17 forks source link
adopt-this-plugin

Amazon Web Services Elastic Beanstalk Publisher

Master status:

Build Status

This plugin allows for publishing to an Elastic Beanstalk application as either a Build or Post Build step.

Amazon credentials are set in the global configuration.
IAM credentials need to be able to read and upload to S3, and to read and configure Elastic Beanstalk.

Example Credentials

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "elasticbeanstalk:*",
        "s3:*"
      ],
      "Resource": "*"
    }
  ]
}

After adding the Access Key ID and Secret Key in to the Jenkins master configuration, click Advanced and choose a region to see what applications your credentials actually see.

The Access Key and Secret Key are optional. Credentials can be placed in the master configuration, in a .aws config file, or as environment variables.

If Jenkins is itself running inside AWS (for example on an EC2 instance) you can instead leave the Access Key ID and Secret Key blank, and the IAM instance role of the jenkins server will be used for authentication.

More about AWS credentials can be found here.

Screenshot:

Global Configuration

Global Config

Job Configuration

![Job Config](job config.png)

Updates

-> 1.4.1

-> 1.4

-> 1.3

-> 1.2

-> 1.0

Attribution

This is a fork of Aldrin Leal's Elastic Beanstalk Deployment plugin