Git Subtree Survival Tips

March 17, 2016 at 12:00am in git, subtree
by Roy Willemse (6 min read)

Sometimes you want to share files across multiple Git repositories. In our case we wanted to share Jenkinfiles and Gradle scripts, which were maintained in a different repository. Our initial copy-paste methodology started to become burdensome after the first dozen projects. This was expected, of course. So we went looking for alternatives and (after rejecting Git submodules) started to experiment with Git subtrees. In this article I’ll share some tips to enhance your experience.

Jenkins Pipeline Tutorial

February 12, 2016 at 12:00am in java, continuous delivery, jenkins, pipeline
by Roy Willemse (15 min read)

The Jenkins Pipeline plugin is an exciting new way of handling software builds in Jenkins. The central concept is Pipeline as Code, where your build logic resides inside a file versioned along with your application sourcecode. This tutorial guides you through the parts you need to understand.

Bash tricks

January 1, 2016 at 12:00am in bash
by Roy Willemse (1 min read)

This is a collection of snippets that help improve my command line experience. Most of this stuff is loaded in my ~/.bashrc file.

Poor man's Jenkins Webhook

January 1, 2016 at 12:00am in hacks
by Roy Willemse (1 min read)

Perform an action whenever a HTTP request is received on a particular port.