Package jetbrains.buildServer.clouds
Interface CloudConstants
-
public interface CloudConstants
The 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 class
CloudConstants.AgentRemovePolicyValue
Possible values forAGENT_REMOVE_POLICY
-
Field Summary
Fields Modifier and Type Field Description static 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.RemoveAgent
by defaultstatic 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.static String
AGENT_TERMINATE_AFTER_BUILD_ENV
An env var which setsAGENT_TERMINATE_AFTER_BUILD
on agent startupstatic String
BUILD_ID
static Set<String>
CLOUD_FEATURE_TYPES
static String
CLOUD_IMAGE_FEATURE_TYPE
Type of project feature for cloud imagestatic String
CLOUD_INTEGRATION_FEATURE_TYPE
Type of project feature for project's cloud integration status (enable/disable on project level)static String
CLOUD_PROFILE_FEATURE_TYPE
Type of project feature for cloud profilestatic int
DEFAULT_IMAGE_PRIORITY
Default cloud image priority.static String
PROFILE_ID
Name of agent configuration parameter, seeAgentDescription.getConfigurationParameters()
Reports the cloud profile id the instance belongs tostatic String
PROJECT_CLOUD_PROFILE_TOGGLE
static 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.
-
-
-
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_BUILD
on 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.RemoveAgent
by 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
-
-