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 [...]
Tags:
API,
gist,
github,
Gradle,
Groovy,
Hudson,
Java,
jenkins,
JSON,
JsonSlurper,
kellyrob99,
Programming,
REST,
theKaptain
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 [...]
Tags:
API,
cli,
Gradle,
Grails,
Groovy,
HTTP,
HTTPBuilder,
Hudson,
jenkins,
kellyrob99,
kellyrob99.com,
theKaptain
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 [...]