Creating a hello world project
This topic describes how to create and run a simple project to verify that the build system is set up properly.
The following items provide an overview of the tasks needed to create a "Hello World" project.
- Set up a server:
- Create a server authentication (login name and password) so that Rational Build Forge can access and run commands on a server
- Create the server definition to indicate the server with an agent installed
- Create a selector for the HelloWorld project to use to determine the server on which to run
- Test the server connection to ensure the Master Console and the agent on the server can communicate with each other
- Define a project:
- Name the project HelloWorld and use the selector to specify the server on which to run the project
- Create a step to run the command that displays the Hello World message
- Run the job:
- Start an instance of the project, also known as a job
- Click the Jobs item in the left panel to check job status
- View the job results:
- In the completed jobs list, click the job tag to display a list of the job's steps (or single step in the case of the HelloWorld example)
- Click the job's step to display the step log
- Find in the step log the command's Hello World output