Viewing the job results

This topic describes how to view the job results as part of a "Hello World" exercise to verify that the build system is set up properly.

Before you begin

You must define and run the HelloWorld project.

Viewing the completed job list

Procedure

  1. Click Jobs.
  2. Click the Completed tab. The completed jobs list displays the HelloWorld job as having completed successfully.

Viewing the step log

Procedure

  1. Click Jobs.
  2. Click the Completed tab.
  3. Click the job tag for the HelloWorld job. The default job tag for an initial job is BUILD_1. The system displays the names of the job's steps. In this example, the job has only one step, EchoHelloWorld.
  4. Click the EchoHelloWorld step to examine its log. In most Hello World examples, you would see the "Hello World" text in a console window or pop-up window. The Management Console does its work by sending commands to the agent process on the target server; the agent then sends the output from those commands back to the Management Console, which stores that output in the step logs. The log has many sections; the relevant one is the final EXEC section. You can display only the EXEC section by clearing all the check boxes, selecting the EXEC check box, and clicking the Refresh link. The results of the command are shown below.
    80	04/19/10 11:06AM	EXEC	Locale set to 'English_United States.1252'
    253	04/19/10 11:06AM	EXEC	Locale set to 'English_United States.1252'
    354	04/19/10 11:06AM	EXEC	Performing variable expansion on command line
    356	04/19/10 11:06AM	EXEC	start [C:\buildforgeprojects\HelloWorld\BUILD_1@mcsystem]
    357	04/19/10 11:06AM	EXEC	Hello World
    358	04/19/10 11:06AM	EXEC	end [C:\buildforgeprojects\HelloWorld\BUILD_1@mcsystem]

Results

This project demonstrates that you have configured your system correctly, that projects can successfully access a server, run, and generate output on a server. You can replace the echo command with any command that can be run on the target server.

Feedback