Resource roles

A role enables you to further refine how a resource is used, and is similar to sub resources.

For most deployments, you do not need to define a role. During process configuration, you select a specific role when you determine the resource. A role can be used to set up IBM® UrbanCode Deploy for rolling deployments, balancing, and similar tasks. For example, you can set up your process to deploy only to a percentage of targets first. You can add a manual task in the middle of the process that requires manual intervention (for example, after a user tests the partial deployment). Then, after the manual task is finished, the rest of the process is assigned a second role. This role is responsible for deploying to the rest of the target systems.

When you create a role, you can define properties for it. Then whenever you add the role to a resource, you can set the values for the properties. For example, if you create a role that is called "WS" and define a property that is called "serverURL," you can access the property like this: ${p:resource/WS/serverURL}. For information about IBM UrbanCode Deploy properties, see IBM UrbanCode Deploy properties


Feedback