jetbrains.buildServer.agent
Interface ServerProvidedProperties


public interface ServerProvidedProperties

User: kir This interface describes various system properties and environment variables provided by TeamCity to underlying builds.

See Also:
AgentRuntimeProperties

Field Summary
static java.lang.String BUILD_COUNTER_PARAM
           
static java.lang.String BUILD_NUMBER_ENV
           
static java.lang.String BUILD_NUMBER_PROP
           
static java.lang.String BUILD_STEP_EXECUTION_MODE
          runner parameter to specify execution mode
static java.lang.String BUILD_STEP_EXECUTION_MODE_ALWAYS
          value for BUILD_STEP_EXECUTION_MODE, will execute step always, even if build was interrupted
static java.lang.String BUILD_STEP_EXECUTION_MODE_DEFAULT
          value for BUILD_STEP_EXECUTION_MODE step will not be executed if there are other failed steps
static java.lang.String BUILD_STEP_EXECUTION_MODE_EVEN_IF_FAILED
          value for BUILD_STEP_EXECUTION_MODE, will execute step even if previous step(s) has failed, server will not be queries for step results.
static java.lang.String BUILD_STEP_EXECUTION_MODE_WHILE_SUCCESSFUL
          value for BUILD_STEP_EXECUTION_MODE, will execute step only if status on server is "successful"; i.e.
static java.lang.String BUILD_VCS_NUMBER
           
static java.lang.String BUILD_VCS_NUMBER_ENV
           
static java.lang.String ENV_BUILD_NUMBER
           
static java.lang.String ENV_BUILD_NUMBER_FORMAT
           
static java.lang.String ENV_BUILD_VCS_NUMBER_PREFIX
           
static java.lang.String SYSTEM_BUILD_NUMBER
           
static java.lang.String SYSTEM_BUILD_NUMBER_FORMAT
           
static java.lang.String SYSTEM_BUILD_VCS_NUMBER_PREFIX
           
static java.lang.String TEAMCITY_AUTH_PASSWORD_PROP
           
static java.lang.String TEAMCITY_AUTH_USER_ID_PROP
           
static java.lang.String TEAMCITY_BUILD_BRANCH_DEFAULT
           
static java.lang.String TEAMCITY_BUILD_BRANCH_NAME
           
static java.lang.String TEAMCITY_BUILD_CHECKOUT_DIR
           
static java.lang.String TEAMCITY_BUILD_CHECKOUT_DIR_EXPIRE_TIME
           
static java.lang.String TEAMCITY_BUILD_IS_PERSONAL_ENV
           
static java.lang.String TEAMCITY_BUILD_IS_PERSONAL_PROP
           
static java.lang.String TEAMCITY_BUILD_VCS_BRANCH
           
static java.lang.String TEAMCITY_BUILD_WORKING_DIR
           
static java.lang.String TEAMCITY_BUILDTYPE_ID_PROP
           
static java.lang.String TEAMCITY_BUILDTYPE_NAME_ENV
           
static java.lang.String TEAMCITY_BUILDTYPE_NAME_PROP
           
static java.lang.String TEAMCITY_PROJECT_ID_PARAM
           
static java.lang.String TEAMCITY_PROJECT_NAME_ENV
           
static java.lang.String TEAMCITY_PROJECT_NAME_PROP
           
static java.lang.String TEAMCITY_VERSION_ENV
           
static java.lang.String TEAMCITY_VERSION_PROP
           
static java.lang.String UNRESOLVED_STUB
           
 

Field Detail

BUILD_VCS_NUMBER

static final java.lang.String BUILD_VCS_NUMBER
See Also:
Constant Field Values

BUILD_VCS_NUMBER_ENV

static final java.lang.String BUILD_VCS_NUMBER_ENV
See Also:
Constant Field Values

SYSTEM_BUILD_VCS_NUMBER_PREFIX

static final java.lang.String SYSTEM_BUILD_VCS_NUMBER_PREFIX
See Also:
Constant Field Values

ENV_BUILD_VCS_NUMBER_PREFIX

static final java.lang.String ENV_BUILD_VCS_NUMBER_PREFIX
See Also:
Constant Field Values

UNRESOLVED_STUB

static final java.lang.String UNRESOLVED_STUB
See Also:
Constant Field Values

TEAMCITY_BUILD_IS_PERSONAL_PROP

static final java.lang.String TEAMCITY_BUILD_IS_PERSONAL_PROP
See Also:
Constant Field Values

TEAMCITY_BUILD_IS_PERSONAL_ENV

static final java.lang.String TEAMCITY_BUILD_IS_PERSONAL_ENV
See Also:
Constant Field Values

BUILD_NUMBER_PROP

static final java.lang.String BUILD_NUMBER_PROP
See Also:
Constant Field Values

BUILD_COUNTER_PARAM

static final java.lang.String BUILD_COUNTER_PARAM
See Also:
Constant Field Values

SYSTEM_BUILD_NUMBER

static final java.lang.String SYSTEM_BUILD_NUMBER
See Also:
Constant Field Values

BUILD_NUMBER_ENV

static final java.lang.String BUILD_NUMBER_ENV
See Also:
Constant Field Values

ENV_BUILD_NUMBER

static final java.lang.String ENV_BUILD_NUMBER
See Also:
Constant Field Values

SYSTEM_BUILD_NUMBER_FORMAT

static final java.lang.String SYSTEM_BUILD_NUMBER_FORMAT
See Also:
Constant Field Values

ENV_BUILD_NUMBER_FORMAT

static final java.lang.String ENV_BUILD_NUMBER_FORMAT
See Also:
Constant Field Values

TEAMCITY_BUILD_CHECKOUT_DIR

static final java.lang.String TEAMCITY_BUILD_CHECKOUT_DIR
See Also:
Constant Field Values

TEAMCITY_BUILD_WORKING_DIR

static final java.lang.String TEAMCITY_BUILD_WORKING_DIR
See Also:
Constant Field Values

TEAMCITY_BUILD_CHECKOUT_DIR_EXPIRE_TIME

static final java.lang.String TEAMCITY_BUILD_CHECKOUT_DIR_EXPIRE_TIME
See Also:
Constant Field Values

TEAMCITY_BUILD_BRANCH_NAME

static final java.lang.String TEAMCITY_BUILD_BRANCH_NAME
See Also:
Constant Field Values

TEAMCITY_BUILD_BRANCH_DEFAULT

static final java.lang.String TEAMCITY_BUILD_BRANCH_DEFAULT
See Also:
Constant Field Values

TEAMCITY_BUILD_VCS_BRANCH

static final java.lang.String TEAMCITY_BUILD_VCS_BRANCH
See Also:
Constant Field Values

BUILD_STEP_EXECUTION_MODE

static final java.lang.String BUILD_STEP_EXECUTION_MODE
runner parameter to specify execution mode

Since:
7.1
See Also:
Constant Field Values

BUILD_STEP_EXECUTION_MODE_DEFAULT

static final java.lang.String BUILD_STEP_EXECUTION_MODE_DEFAULT
value for BUILD_STEP_EXECUTION_MODE step will not be executed if there are other failed steps

Since:
7.1
See Also:
Constant Field Values

BUILD_STEP_EXECUTION_MODE_WHILE_SUCCESSFUL

static final java.lang.String BUILD_STEP_EXECUTION_MODE_WHILE_SUCCESSFUL
value for BUILD_STEP_EXECUTION_MODE, will execute step only if status on server is "successful"; i.e. server will be asked for build status.

Since:
8.0
See Also:
Constant Field Values

BUILD_STEP_EXECUTION_MODE_EVEN_IF_FAILED

static final java.lang.String BUILD_STEP_EXECUTION_MODE_EVEN_IF_FAILED
value for BUILD_STEP_EXECUTION_MODE, will execute step even if previous step(s) has failed, server will not be queries for step results.

Since:
7.1
See Also:
Constant Field Values

BUILD_STEP_EXECUTION_MODE_ALWAYS

static final java.lang.String BUILD_STEP_EXECUTION_MODE_ALWAYS
value for BUILD_STEP_EXECUTION_MODE, will execute step always, even if build was interrupted

Since:
7.1
See Also:
Constant Field Values

TEAMCITY_AUTH_USER_ID_PROP

static final java.lang.String TEAMCITY_AUTH_USER_ID_PROP
See Also:
Constant Field Values

TEAMCITY_AUTH_PASSWORD_PROP

static final java.lang.String TEAMCITY_AUTH_PASSWORD_PROP
See Also:
Constant Field Values

TEAMCITY_PROJECT_NAME_ENV

static final java.lang.String TEAMCITY_PROJECT_NAME_ENV
See Also:
Constant Field Values

TEAMCITY_PROJECT_NAME_PROP

static final java.lang.String TEAMCITY_PROJECT_NAME_PROP
See Also:
Constant Field Values

TEAMCITY_VERSION_ENV

static final java.lang.String TEAMCITY_VERSION_ENV
See Also:
Constant Field Values

TEAMCITY_VERSION_PROP

static final java.lang.String TEAMCITY_VERSION_PROP
See Also:
Constant Field Values

TEAMCITY_BUILDTYPE_NAME_ENV

static final java.lang.String TEAMCITY_BUILDTYPE_NAME_ENV
See Also:
Constant Field Values

TEAMCITY_BUILDTYPE_NAME_PROP

static final java.lang.String TEAMCITY_BUILDTYPE_NAME_PROP
See Also:
Constant Field Values

TEAMCITY_BUILDTYPE_ID_PROP

static final java.lang.String TEAMCITY_BUILDTYPE_ID_PROP
See Also:
Constant Field Values

TEAMCITY_PROJECT_ID_PARAM

static final java.lang.String TEAMCITY_PROJECT_ID_PARAM
See Also:
Constant Field Values