Interface StopBuildManager

    • Method Detail

      • cancelBuild

        void cancelBuild​(@NotNull
                         @NotNull PlanResultKey planResultKey,
                         boolean abandonResult)
        Cancel a running build optionally abandoning the result
        Parameters:
        planResultKey -
        abandonResult -
        Throws:
        InterruptedException
      • cancelDeployment

        void cancelDeployment​(@NotNull
                              @NotNull ResultKey resultKey,
                              @NotNull
                              @NotNull Long deploymentResultId,
                              Long agentId)
        Cancel a running deployment
        Parameters:
        resultKey -
        deploymentResultId -
        agentId -
      • stopAgentNicely

        void stopAgentNicely​(@NotNull
                             @NotNull BuildAgent buildAgent)
        Will tell an agent to stop after it's finished the current build
        Parameters:
        buildAgent -