skip to main content

gerg.dev

Blog | About me

Jenkins: Check whether a DSL method exists

Occasionally when working with Jenkinsfiles, you’ll run into a NoSuchMethodError because of calling a function that Jenkins’s doesn’t know about: There are number of reasons that this can happen, such as a required plugin not being installed, or the shared library that defines the function isn’t loaded. Lately I have been working a lot with… Read more

Agile Testing book club: Do your tests have purpose?

This is the fourth part in my series highlighting some of the lessons I’m taking from reading Agile Testing by Lisa Crispin and Janet Gregory. Other entries in the series can be found here. Chapter 6 is largely dedicated to an overview of the “Agile Testing Quadrants”, as a way of exploring the different roles that different… Read more

Regression and Functional tests are meaningless

I have a major pet peeve with any test strategy that includes something called “regression tests”. I recently saw someone ask, “Do we need to run regression tests on a project where the CI/CD pipeline runs all tests on any git commit?” On a different project, someone asked, “Now that we run this new test… Read more

Lumpers and Splitters in Testing

I find myself getting frustrated a lot with the online discourse around testing. Often, it comes down to what language we choose to use to describe what we do as testers. I have a running list of “debates I no longer care about” in my notes app, but this post isn’t about airing those grievances…. Read more

Creating a Job DSL seed job with JCasC

I spent a good amount of time trying to figure this out today and thought it would be worth putting out in case it helps others. I’ve been exploring different ways of automating Jenkins administration lately, which has led me to trying both Jenkins Configuration as Code (JCasC) and the Job DSL plugins. I’ll write… Read more