Class AgentlessBuildExecutionManager


  • public class AgentlessBuildExecutionManager
    extends Object
    • 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