Lesson 7: Running the build

Run the project build process to transform the source code into the finished application, JUnit.

Ensure that you completed all previous steps in the tutorial.
You run a build by running a build process that is defined for the project. The build process takes the source material and transforms it, using a job that is assigned to the project, into the final output.
  1. On the left navigational panel, click Projects, and then expand the project that you created in the last lesson, Demo Project.
    Builds configured for the selected project are listed beneath the project, as shown in the following figure:
    The builds for the Demo Project listed
  2. Click DemoBuild.
    The Main tab for the DemoBuild project build is displayed.
  3. Click Build.
    The build process starts and the My Activity tab for the build is displayed. The build, with a new build life number, is listed with a status of Running, as shown in the following figure:
    The Demo Build is running
Refresh the My Activity page. If the build is successful, the status changes to Complete; otherwise, the status changes to Failed. A successful run is shown in the following figure:
A successful build
The project's Main tab contains information about the builds generated by the project. To see details about a build, click the build life ID in the Build column. To see a step's output, use the View Output action, as shown in the following figure. Use the log to identify errors and troubleshoot failed steps.
The DemoJob steps are listed

To see the JUnit test results, display the Test tab for the build.

Lesson checkpoint

In this lesson, you ran a build of the tutorial project, Demo Project, and examined its progress, tests, and final output.

In this lesson, you ran a build for the project you created. The build created the application JUnit. The JUnit application is in the agent_install\var\work\project\Demo_Project\Demo_Build folder. Project artifacts are stored in the CodeStation repository.