Posts

Showing posts with the label gradle

CI/CD as Code Part IV - Stateless Jenkins : Jobs as Code - Advanced

Image
In the previous article of these examples , we created a stateless jenkins container which can be initialised solely by using scripts. In that example, a seed job for jobdsl plugin was also implemented. This job was later on used to create an automated simple jenkins job inline. In order to create more complex jobs in an automated fashion, we will extend previous seed job implementation further in this example. Our extended seedJob will poll a job definition repository to gather the information on how to create new complex jobs for some other remote repositories.

Testing Java Projects with Groovy

This example demonstrates how we can implement our tests using groovy in a java based project. You might be asking why. Well, implementing tests with groovy has some advantages. However, this article does not try to convince you groovy is a better way to implement your tests. It's just another alternative to implement your tests. If you want to investigate testing java projects with groovy, the article will, then, provide you a starting point for your investigation.