Before you can run the tutorial project, you must configure your IBM® UrbanCode Build and
IBM UrbanCode Deploy
environments.
Before you begin
Before you begin the tutorial, make sure that you meet the Prerequisites.
About this task
To complete the tutorial, you must have an installation of IBM UrbanCode Build and
IBM UrbanCode Deploy.
Your IBM UrbanCode Build agent must
have access to the IBM UrbanCode Deploy server.
Procedure
To prepare the tutorial system.
Prepare a computer for use as the target system. This computer must meet the system
requirements that are listed in System requirements.
Install the plug-ins that are used in the tutorial. The tutorial uses several plug-ins. Most of them are installed when you install the product,
but you must install some plug-ins yourself. Download and install these plug-ins:
Install an agent on the target computer. For performance reasons, agents are not typically installed on the same computer where the
IBM UrbanCode Build
server is located. For the tutorial, installing the agent on the computer where the server is
located is fine.
Configure the agent. Your agent must be included in the list of configured agents on the
Agents page with a status of
Online.
Install the open source tools Git and Ant on the computer where the IBM UrbanCode Build agent is
located. Add the home directory for each tool to the PATH variable on the target
system.
Create the artifact set used by the tutorial by completing these steps:
From the IBM UrbanCode Build dashboard,
click System, and then click Artifact Sets.
In the Artifact Sets tab, click Create New Artifact
Set.
In the Name field, type dist.
Click Save.
Install IBM UrbanCode Deploy. You must know the version number of the server because the IBM UrbanCode Deploy plug-in
works differently for versions before 6.1. The IBM UrbanCode Deploy server
must be accessible by the IBM UrbanCode Build agent.
When the tutorial project runs, the agent calls to the IBM UrbanCode Deploy REST API.
The IBM UrbanCode Deploy server
must be running when you run the tutorial project.
Configure an integration
with the IBM UrbanCode Deploy server
you installed in the previous step. To complete the configuration, you will need the URL of the
IBM UrbanCode Deploy
server.
In your IBM UrbanCode Deploy
installation, create a component that is named Ant. When you create the component, provide the following property values:
Component Type: Standard
Source Configuration Type: none
You can accept the default values for the other properties.
Note: To complete this step,
you need an IBM UrbanCode Deploy account
with, at a minimum, permission to view, edit, and create components. See Prerequisites.
In your IBM UrbanCode Deploy
installation, create a version status and name it Success. The tutorial project assigns this status to the component version that it creates in IBM UrbanCode Deploy. Make
sure that you create a version status and not an inventory or snapshot status.
Note: To complete this
step, you need an account with access to the IBM UrbanCode DeploySettings page. See Prerequisites.
Lesson checkpoint
The servers and agent are configured for the tutorial. If you installed the agent on
a remote system, you must know the credentials that are required to access the remote
system.