Blog Archives

Hudson/Jenkins API in Ruby

I updated the README on my Jenkins (Hudson) API gem. Checkout it out, it highlights the gem’s capabilities much better now. https://github.com/Druwerd/hudson-remote-api Once again thanks to everyone who contributed to this gem! Advertisements

Tagged with: , , , , ,
Posted in hudson, jenkins, ruby, rubygem

hudson-remote-api 0.6.0

Updates to hudson-remote-api gem: Git SCM support Build triggers support Thanks to beeplove for contributing.

Tagged with: , , ,
Posted in hudson, jenkins, ruby, rubygem

Ruby Case Statement || Ruby Switch Statement

Ruby is awesome but sometimes it throws me a curve ball. At first glance I expected this to output ‘bar’, but instead nothing! Looking at the if statement equivalent, it becomes clear. The “||” operator is evaluated before the comparison

Posted in ruby

capistrano + jenkins

Yet another ruby gem: jenkins_cap This one allows you to tie your Capistrano deployment to your Jenkins build, such that a deployment only occurs if the revision (SVN) has been successfully built on Jenkins. The gem pulls data from Jenkin’s

Tagged with: , , , , ,
Posted in capistrano, hudson, jenkins, ruby, rubygem

cap_permission

Another Capistrano ruby gem: cap_permission. This ruby gem allows you to control who can run Capistrano. You can set permissions based on a user’s group membership, or create a list of “deployment_users” who are allowed to run Capistrano. By default

Tagged with: , , , ,
Posted in capistrano, ruby, rubygem

caplock: a capistrano ruby gem

After a long arduous battle (gross exaggeration) fighting for Capistrano we are finally implementing it at my company. Of course we have found that Capistrano doesn’t always work the way we would like it to. Luckily Capistrano seems pretty easily

Tagged with: , , ,
Posted in capistrano, ruby

Hudson (Jenkins) Ruby Gem 0.3.1

Looks like my humble little ruby gem has gathered some interest on GitHub https://github.com/Druwerd/hudson-remote-api/network =) It’s great to see other people working with the code base and expanding upon it. I just finished merging the latest pull requests and released

Tagged with: , , ,
Posted in hudson, jenkins, ruby