Jenkins plugin ?

June 25, 2013 3.4k views
Many companies use Jenkins for CI. Jenkins has a pretty nifty EC2 plugin which basically allows you to provision EC2 instances as job are started. It would be great if digital ocean has something similar. I would definitely use it if there was a Jenkins plugin.
9 Answers
There isn't a Jenkins plugin that I know of, however we provide an API so you can build one yourself if you want to:
I like this idea... how would you imagine this to work? similar to EC2 plugin or something basic where you could just spin up an image as a build slave?
This would be similar to the EC2 plugin. Ideally there should also be something similar to cloudformation plugin but EC2 would be a very good start.

Many developers use Jenkins in their environment for CI. If there was a plugin for Jenkins, we simply write a simple job that compiles/builds codes and deploys it automatically to digitalocean for testing.
I looked at the API on

I am not sure how you would provision a VM if the API only provides GET methods. I can't imagine creating anything without some POST methods
Our current API only supports GET. To create a droplet you have to do a GET request to
I was looking for DO plugins for Jenkins and found this thread.

One possible solution is to use Jenkins Vagrant plugin ( with Digital Ocean Vagrant Plugin (

There is a short screencast demonstrating it here:
The JClouds Plugin ( recently added support for Digital Ocean as a provider.

Because the plugin seems to just be an abstraction over the jclouds library, many of the field names do not map directly across. Plus, you need to use either DO's API or look at the Image page's source to get the image_id.

Give me a shout if you think a tutorial on DO would be useful.

I know, pretty late, but you know that there's a jenkins plugin for exactly this task:

It's now perfect but I've taken over maintenance and for now at least it seams to work correctly again! New features will be added over the next weeks/month as my time allows and/or my real-life-job requires. Ideas and (especially) help is very welcomed.

  • Hello. This plugins seems to be all what I need but... Maybe I am wrong (surely) but I cannot find any documentation about how to use it. I figured out that I should configure it on "Global configurations" but I am stuck searching how to start a droplet on from a job configuration. Where can I see/read how to do it?

  • Hey, I'm happy to get it running in my spare time for now. Documentation stands on a completely different sheet :-)

    Basically it's pretty simple. You configure the DigitalOcean as a Cloud Provider, add an Image and set a Label to the Image. When creating the access data from your DigitalOcean page make sure that you create them for the v1 API. The plugin is currently using that version. Now simply limit a job to the label you've added and the plugin should do the rest. I'll try to add a documentation during the weekend, but I've quite a tough timeframe. I hope the short explanation is enough for now.

    Kind regards,

Have another answer? Share your knowledge.