Interface DetachedBuildStatusProvider

  • All Superinterfaces:
    TeamCityExtension

    public interface DetachedBuildStatusProvider
    extends TeamCityExtension
    Can be used on server to report updates to a detached build and finally finish it
    Since:
    2020.2.2
    • Method Detail

      • getDescription

        @NotNull
        java.lang.String getDescription()
        Returns:
        human-readable description
      • accepts

        boolean accepts​(@NotNull
                        SRunningBuild build,
                        @Nullable
                        java.lang.String trackingInfo)
        Returns true if this provider can report information about the specified build
        Parameters:
        build - build to check
        trackingInfo - optional additional info reported in ##teamcity[buildDetachedFromAgent...] service message
        Returns:
        see above
      • updateBuild

        void updateBuild​(@NotNull
                         SRunningBuild build,
                         @Nullable
                         java.lang.String trackingInfo)
        Adds messages, status, etc to the build or finish it
        Parameters:
        build - build to check
        trackingInfo - optional additional info reported in ##teamcity[buildDetachedFromAgent...] service message