Package jetbrains.buildServer.clouds
Interface CloudConstants
-
public interface CloudConstantsThe number of widely used cloud constants- Since:
- 7.1
- Author:
- Eugene Petrenko (eugene.petrenko@gmail.com) Date: 31.05.12 14:09
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCloudConstants.AgentRemovePolicyValuePossible values forAGENT_REMOVE_POLICY
-
Field Summary
Fields Modifier and Type Field Description static StringAGENT_REMOVE_POLICYName of agent configuration parameter, seeAgentDescription.getConfigurationParameters()
Determines the way cloud agent is removed from the list of agents after related cloud instance is reported as stopped and build agent is disconnected
If agent property is not defined, it will useCloudConstants.AgentRemovePolicyValue.RemoveAgentby defaultstatic StringAGENT_TERMINATE_AFTER_BUILDName of agent configuration parameter, seeAgentDescription.getConfigurationParameters()
Cloud core uses this parameter to decide if agent must be stopped after build is finished on the agent.static StringAGENT_TERMINATE_AFTER_BUILD_ENVAn env var which setsAGENT_TERMINATE_AFTER_BUILDon agent startupstatic StringBUILD_IDstatic Set<String>CLOUD_FEATURE_TYPESstatic StringCLOUD_IMAGE_FEATURE_TYPEType of project feature for cloud imagestatic StringCLOUD_INTEGRATION_FEATURE_TYPEType of project feature for project's cloud integration status (enable/disable on project level)static StringCLOUD_PROFILE_FEATURE_TYPEType of project feature for cloud profilestatic intDEFAULT_IMAGE_PRIORITYDefault cloud image priority.static StringPROFILE_IDName of agent configuration parameter, seeAgentDescription.getConfigurationParameters()
Reports the cloud profile id the instance belongs tostatic StringPROJECT_CLOUD_PROFILE_TOGGLEstatic StringTERMINATE_DISABLED_AGENTSCloud core uses this parameter to decide if agent still must be stopped even if it is marked for maintenance/disabled.
-
-
-
Field Detail
-
AGENT_TERMINATE_AFTER_BUILD
static final String AGENT_TERMINATE_AFTER_BUILD
Name of agent configuration parameter, seeAgentDescription.getConfigurationParameters()
Cloud core uses this parameter to decide if agent must be stopped after build is finished on the agent.- Since:
- 7.1
- See Also:
- Constant Field Values
-
TERMINATE_DISABLED_AGENTS
static final String TERMINATE_DISABLED_AGENTS
Cloud core uses this parameter to decide if agent still must be stopped even if it is marked for maintenance/disabled. Parameter can be configured both on project level and globally.- Since:
- 2022.10.x
- See Also:
KillIdleRunningInstances, Constant Field Values
-
AGENT_TERMINATE_AFTER_BUILD_ENV
static final String AGENT_TERMINATE_AFTER_BUILD_ENV
An env var which setsAGENT_TERMINATE_AFTER_BUILDon agent startup- Since:
- 2021.1
- See Also:
- Constant Field Values
-
AGENT_REMOVE_POLICY
static final String AGENT_REMOVE_POLICY
Name of agent configuration parameter, seeAgentDescription.getConfigurationParameters()
Determines the way cloud agent is removed from the list of agents after related cloud instance is reported as stopped and build agent is disconnected
If agent property is not defined, it will useCloudConstants.AgentRemovePolicyValue.RemoveAgentby default- Since:
- 7.1
- See Also:
CloudConstants.AgentRemovePolicyValue, Constant Field Values
-
PROFILE_ID
static final String PROFILE_ID
Name of agent configuration parameter, seeAgentDescription.getConfigurationParameters()
Reports the cloud profile id the instance belongs to- See Also:
- Constant Field Values
-
BUILD_ID
static final String BUILD_ID
- See Also:
- Constant Field Values
-
PROJECT_CLOUD_PROFILE_TOGGLE
static final String PROJECT_CLOUD_PROFILE_TOGGLE
- See Also:
- Constant Field Values
-
CLOUD_PROFILE_FEATURE_TYPE
static final String CLOUD_PROFILE_FEATURE_TYPE
Type of project feature for cloud profile- Since:
- 2017.1
- See Also:
- Constant Field Values
-
CLOUD_IMAGE_FEATURE_TYPE
static final String CLOUD_IMAGE_FEATURE_TYPE
Type of project feature for cloud image- Since:
- 2017.1
- See Also:
- Constant Field Values
-
CLOUD_INTEGRATION_FEATURE_TYPE
static final String CLOUD_INTEGRATION_FEATURE_TYPE
Type of project feature for project's cloud integration status (enable/disable on project level)- Since:
- 2017.1
- See Also:
- Constant Field Values
-
DEFAULT_IMAGE_PRIORITY
static final int DEFAULT_IMAGE_PRIORITY
Default cloud image priority. It is used to sort images in the list of available images. The higher the priority number, the higher the image is in the list.- Since:
- 2023.11
- See Also:
- Constant Field Values
-
-