The Kaptain on … stuff

Posts Tagged ‘theKaptain

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 […]

Share

18 Sep, 2011

Using Gradle to Bootstrap your Legacy Ant Builds

Posted by: TheKaptain In: Development

Gradle provides several different ways to leverage your existing investment in Ant, both in terms of accumulated knowledge and the time you’ve already put into build files. This can greatly facilitate the process of porting Ant built projects over to Gradle, and can give you a path for incrementally doing so. The Gradle documentation does […]

Share

03 Apr, 2011

A Groovy/Gradle JSLint Plugin

Posted by: TheKaptain In: Development

This article originally appeared in the January 2011 issue of GroovyMag. Gradle is a build system in which builds are described using a declarative and concise DSL written in the Groovy language. This article describes how you can wrap proven Apache Ant Tasks in a Gradle Plugin to make using them as effortless as possible. […]

Share

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 […]

Share

13 Nov, 2010

Why do I Like Gradle?

Posted by: TheKaptain In: Development

Gradle, if you don’t already know it, is rapidly gaining traction as a strong leader in the next generation of build systems. It builds heavily upon excellent aspects of the Maven and Ant frameworks, yet is pitched as not suffering from the same “Frameworkitis“. And I’ve gotta say – the results are pretty spectacular. Among […]

Share

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 […]

Share

Get Adobe Flash player