OpenMake Meister

Configure Workflow Activity Environment Variables Section

 

You can define unique Environment Variables to your Workflow Activity or override Sever Pool level or “Global” Workflow variables using the Configure Workflow activity Environment Variable option. To add a variable that will apply only to your Workflow Activity, expand on the “Configure Workflow Activity Environment Variable” option to display the Environment Variable table.  Click on the New Variable button and enter the variable name into the Variable input line and then enter the desired value into the Value input line. You can also choose one of the pre-defined values by clicking on the Macros button and then selecting one of the variables from the pop-up menu. See the “Macros” table below for a list of the available Macros. After clicking OK, the configure environment field will display the new variable as Set. If you delete the value of this variable using the Edit button, the variable will display as Unset.

 

Once your Workflow Activity completes, the Environment Variables will be reset to the Server Pool level, or if no Server Pool level Variables exist, to the “Global” Workflow level.

 

Table Macros.  Environment Macros and Descriptions

Activity Macros

Description

$(LOG_URL)

URL where log output for the Workflow is located.

$(MACHINE_NAME)

Name of the machine executing this activity.

$(USER_NAME)

Name of the user executing the Workflow.

$(BUILD_DIRECTORY)

Build directory from which activities will be executed.

$(BUILD_DATE)

Date the Workflow was executed.

$(BUILD_TIME)

Time the Workflow was executed.

$(JOB_NAME)

The Job Name that appears in the General Information field on the Configure Tab screen.

$(JOB_LABEL)

The Job Label that appears in the General Information field on the Configure Tab screen.

$(JOB_NUMBER)

The Job Number that appears in the General Information field on the Configure Tab screen.