BuildForge Help

Adaptors and Environment Variables

The adaptor requires environment variables to execute application commands. In the adaptor templates, environment variables are listed in the <env> elements in the <template> section of the XML file.

For example, for the ClearCaseBaseline adaptor, the following environment variables are listed in the ClearCaseBaseline.xml file:

<template>
<!-- Template section, these are parsed out of the final xml. 
Use the list below to help identify the variables needed to run this interface
if you are integrating it during a regular BuildForge step.
-->
<env name="VIEW" value="my_adaptor_view" />
<env name="VOB_PATH" value="\AdaptorVob" />
<env name="CCSERVER" value="BFServerName" />
</template>

In Build Forge, environment variables are stored in environments. Before creating an adaptor, you create an environment for application environment variables.