Question
Jenkins plugin ?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×I know, pretty late, but you know that there’s a jenkins plugin for exactly this task:
https://wiki.jenkins-ci.org/display/JENKINS/DigitalOcean+Plugin
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,
Andreas