How to do it...

  1. Install the AWS Elastic Beanstalk Publisher plugin. For more details, visit https://wiki.jenkins-ci.org/display/JENKINS/AWS+Beanstalk+Publisher+Plugin:
  1. A new section will come up in Post-build Actions for Elastic Beanstalk.
  2. Click on the Jenkins dashboard and select Credentials; add your AWS Credentials.
  3. Go to your Jenkins build and select AWS Credentials, which is set in the global configuration.
  4. Select AWS Region from the list and click on Get Available Applications. As we have created a sample application, it will show up like this.
  1. In EnvironmentLookup, provide an environment ID in the Get Environments By Name box and ...

Get Jenkins 2.x Continuous Integration Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.