Has anyone created a Hudson or Jenkins Job to deploy to an AWS Beanstalk Instance? Has anyone created a Hudson or Jenkins Job to deploy to an AWS Beanstalk Instance? jenkins jenkins

Has anyone created a Hudson or Jenkins Job to deploy to an AWS Beanstalk Instance?


If you're using Maven for your builds, I wrote a plugin to automate beanstalk and Elastic MapReduce deployment:

http://beanstalker.ingenieux.com.br/

I'm looking for testers! :)


Afaik beanstalk has a web interface so you could create a selenium script to upload it for you. That would be a bit of a hack though.

Uploading via ssh or so it probably a good option. Also beanstalk has an API (http://aws.typepad.com/aws/2011/01/aws-beanstalk-apis-and-command-line-tools.html) that you could easily use from a script and then executed from hudson.

If you use a maven build you could have the build do the deployment invocation as part of e.g. the maven deploy phase after a successful build including unit tests..


I also didn't manage to find a Jenkins plugin to do so.

A good first step would be Luca's Beanstalk upload script to build a Jenkins plugin:https://github.com/blanq/beanstalk-upload