O'Reilly logo

Test-Driven Java Development - Second Edition by Viktor Farcic, Alex Garcia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Automating builds

Once we have Jenkins up and running, it is time to start using it. We are going to create a task on Jenkins that will download the thimblerig-service master branch, execute the tests, build it, and archive the resultant artifact.

Let's start by creating a Freestyle project:

We have to tell Jenkins where the repository is located. In this example, we don't need authentication, but is very likely we would need it in a real-world scenario:

The thimblerig-service project is a Gradle project. We are going to use the Jenkins Gradle ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required