The Sauce Bamboo plugin will set a series of environment variables that reflect the values you enter for the Bamboo job configuration.

General Environment Variables

These variables are used by the Sauce OnDemand plugin for Jenkins and Bamboo. 

Bamboo Environment Variables

In addition, the Sauce Bamboo plugin also has a set of environment variables that are specific to Bamboo. 

VariableDescription
SAUCE_BAMBOO_BUILDNUMBERThe build name that should be used with Sauce Labs.

TUNNEL_IDENTIFIER

The unique tunnel identifier used when the Create a new unique Sauce Connect tunnel per build option is selected.

All bamboo variables are additionally accessible using ${bamboo.<variablename>} in configuration, or ${BAMBOO_<variablename>} in scripts.