Class OutdatedAgentCompatibilityExtension
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.OutdatedAgentCompatibilityExtension
-
- All Implemented Interfaces:
BuildStartContextProcessor
,ServerExtension
,TeamCityExtension
,PositionAware
,PositionConstraintAware
public class OutdatedAgentCompatibilityExtension extends Object implements BuildStartContextProcessor, PositionAware
Since 2020.1 release agents require 1.8 java for start. There is 2019.2 agent distribution which can be installed on server and should run builds without new features. It's a place for supporting the agent if something is changed in agent-server communication
-
-
Constructor Summary
Constructors Constructor Description OutdatedAgentCompatibilityExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PositionConstraint
getConstraint()
Constraint to be respected during objects sorting.String
getOrderId()
Returns object id that can be referenced by {PositionConstraint
}void
updateParameters(BuildStartContext context)
This extension point is called before parameters are sent to a build agent.
-
-
-
Method Detail
-
updateParameters
public void updateParameters(@NotNull BuildStartContext context)
Description copied from interface:BuildStartContextProcessor
This extension point is called before parameters are sent to a build agent. Build context can be used to alter parameters of a build before data is sent to a build agent- Specified by:
updateParameters
in interfaceBuildStartContextProcessor
- Parameters:
context
- context to update
-
getOrderId
@NotNull public String getOrderId()
Description copied from interface:PositionAware
Returns object id that can be referenced by {PositionConstraint
}- Specified by:
getOrderId
in interfacePositionAware
- Returns:
- object id
-
getConstraint
@NotNull public PositionConstraint getConstraint()
Description copied from interface:PositionConstraintAware
Constraint to be respected during objects sorting.- Specified by:
getConstraint
in interfacePositionConstraintAware
- Returns:
- position constraint
-
-