The Kaptain on … stuff

Posts Tagged ‘Hudson

26 Feb, 2012

Hooking into the Jenkins(Hudson) API, Part 2

Posted by: TheKaptain In: Development

It’s been almost a year, but I finally had some time to revisit some code I wrote for interacting with the Jenkins api. I’ve used parts of this work to help manage a number of Jenkins build servers, mostly in terms of keeping plugins in sync and moving jobs from one machine to another. For […]

04 Dec, 2011

Five Cool Things You Can Do With Groovy Scripts

Posted by: TheKaptain In: Development

1. Ensure all of your Jenkins builds are building the correct branch from source control I manage a large number of builds at work, spread across several build servers. When we release a new version all of the builds need to be updated to point to new working branches. This script takes advantage of the […]

27 Mar, 2011

Hooking into the Jenkins(Hudson) API

Posted by: TheKaptain In: Development

Which one – Hudson or Jenkins? Both. I started working on this little project a couple of months back using Hudson v1.395 and returned to it after the great divide happened. I took it as an opportunity to see whether there would be any significant problems should I choose to move permanently to Jenkins in […]

26 Sep, 2010

Groovy inspect()/Eval for Externalizing Data

Posted by: TheKaptain In: Development

One of the things I love about Groovy is how easy it makes reading and writing text files. I’ve written Groovy scripts for everything from parsing log files for extracting timing information to finding (and replacing with selectors) in-line css blocks. Often there’s a piece of information extracted from a file that I want to […]