Class CommandLineNodeConfig
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.CommandLineNodeConfig
-
public class CommandLineNodeConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
ENV_NODE_PROPERTY
static String
TEAMCITY_NODE_CONFIG_FILE
Deprecated.to be removed soonstatic String
TEAMCITY_NODE_RESPONSIBILITIES_PROP
This system property may contain a comma-separated list of node responsibilities assigned to this node.
-
Constructor Summary
Constructors Constructor Description CommandLineNodeConfig()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getConfigurationDescription()
static boolean
isEnabled()
-
-
-
Field Detail
-
TEAMCITY_NODE_CONFIG_FILE
public static final String TEAMCITY_NODE_CONFIG_FILE
Deprecated.to be removed soonThis environment variable points to an XML file which contains a single
element from nodes-config.xml If this variable is set and the file is readable, TeamCity will not read configuration of the current node from the nodes-config.xml file but will load the configuration of responsibilities from this file.
Also, if the responsibilities of the node are loaded from TEAMCITY_NODE_CONFIG_FILE file, other nodes should not allow to edit its responsibilities via UI
- See Also:
NodesConfigUtil
, Constant Field Values
-
ENV_NODE_PROPERTY
public static final String ENV_NODE_PROPERTY
- See Also:
- Constant Field Values
-
TEAMCITY_NODE_RESPONSIBILITIES_PROP
public static final String TEAMCITY_NODE_RESPONSIBILITIES_PROP
This system property may contain a comma-separated list of node responsibilities assigned to this node.
If this variable is set, TeamCity will not read configuration of the current node from the nodes-config.xml file but will init the configuration of responsibilities from this variable.
- Since:
- 2023.09
- See Also:
NodesConfigUtil
, Constant Field Values
-
-
Method Detail
-
isEnabled
public static boolean isEnabled()
-
getConfigurationDescription
@NotNull public static String getConfigurationDescription()
- Returns:
- text description on how responsibilities are passed to the node or an empty string if the responsibilities were not passed
-
-