Class AgentlessBuildExecutionManager
- java.lang.Object
-
- jetbrains.buildServer.serverSide.agentless.AgentlessBuildExecutionManager
-
public class AgentlessBuildExecutionManager extends Object
-
-
Constructor Summary
Constructors Constructor Description AgentlessBuildExecutionManager(ExtensionHolder extensionHolder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WaitReason
tryAndExecuteBuild(QueuedBuildInfo queuedBuild, AgentlessBuildStarter agentlessBuildStarter)
Tries to find an executor for this build and uses it to start an agentless build.void
tryAndStartBuildExecution(BuildPromotionEx buildPromotion)
Tries to find an executor for this build and uses it to start the execution of the build
-
-
-
Constructor Detail
-
AgentlessBuildExecutionManager
public AgentlessBuildExecutionManager(@NotNull ExtensionHolder extensionHolder)
-
-
Method Detail
-
tryAndExecuteBuild
@Nullable public WaitReason tryAndExecuteBuild(@NotNull QueuedBuildInfo queuedBuild, @NotNull AgentlessBuildStarter agentlessBuildStarter)
Tries to find an executor for this build and uses it to start an agentless build.- Returns:
- a wait reason, if it wasn't able to start the build, null if it did or doesn't need to change the current reason
- Since:
- 2022.10
-
tryAndStartBuildExecution
public void tryAndStartBuildExecution(@NotNull BuildPromotionEx buildPromotion)
Tries to find an executor for this build and uses it to start the execution of the build- Parameters:
buildPromotion
- the build that is currently already running, whose changes have already been checked
-
-