O'Reilly logo

Kubernetes Cookbook, 2nd Edition by Ke-Jou Carol Hsu, Hui-Chuan Chloe Lee, Hideto Saito

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

Using Jenkins to build a Docker image

Let's configure a Jenkins job to build a sample microservice application, which was introduced in the previous recipe (my-calc). Perform the following steps to configure and build a Docker image:

  1. On the left navigation, click New Item:
Navigating to create a new item
  1. Put your in desired item name (example: my-calc), select Freestyle project, then click OK:
Creating a new Jenkins Job
  1. In the Source Code Management tab, select Git and set the Repository URL as https://github.com/kubernetes-cookbook/my-calc.git ...

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