Interface AgentlessBuildExecutor

  • All Superinterfaces:
    TeamCityExtension

    public interface AgentlessBuildExecutor
    extends TeamCityExtension
    Can be used on server to inform it that this agentless build can be started.
    Since:
    2022.10
    • Method Detail

      • supports

        boolean supports​(@NotNull
                         BuildPromotion buildPromotion)
        Verifies if the build is support this executor
        Returns:
        true, if supported
        Since:
        2022.10
      • checkCanStart

        @NotNull
        AgentlessBuildStartResult checkCanStart​(@NotNull
                                                BuildPromotion buildPromotion)
        Verifies if there is any reason that the build cannot be started by this executor, yet.
        Returns:
        the reason as to why this build can't start or null if there isn't one
        Since:
        2022.12
      • executeBuild

        default void executeBuild​(@NotNull
                                  BuildPromotion buildPromotion)
        Executes the build, after it is started and its changes are loaded.
        Since:
        2022.12