Introduction

In this tutorial, you create a project that builds the open source product JUnit. The source code is downloaded from GitHub (an open source code repository) and built with Maven.

The project that you create in this tutorial introduces you to the most-used product features. The workflow that you create contains the job types you use everyday.

Learning objectives

In this tutorial, you learn how to complete these tasks:
  • Create a Git repository from which your project downloads the source for JUnit.
  • Create a build process and associate an agent pool to it.
  • Create a job that checks-out the JUnit source from GitHub and uses Maven to build JUnit, and run tests and generate test reports.
  • Create templates that define properties. You supply values for these properties when you create the project.
  • Create a project that is based on the templates you created.
  • Run a build and monitor its progress.
  • Examine build details and troubleshoot problems.

Time required

This tutorial takes approximately 2 hours to finish. If you explore other concepts that are related to this tutorial, it might take longer to complete.

System requirements

To run this tutorial, you need the following resources:
  • An installation of Build, version 6.1 or later.
  • An Build agent installed.
  • An installation of Maven on the computer where the agent is installed.

Prerequisites

To complete this tutorial, you must have an account on the server with permissions to create and edit projects, jobs, and repositories, and to create and run processes.