Interface TextStatusBuilder

  • All Superinterfaces:
    ServerExtension, TeamCityExtension

    public interface TextStatusBuilder
    extends ServerExtension
    User: kir This ServerExtension allows to customize text status line of the build, i.e. the build description which usually contains text like "Tests passed: 234, failed: 4 (2 new)". Custom extensions are called after usual processing of the build results, so you may append, prepend, or replace the text entirely, for this you can use TextStatusBuilderUtil.
    • Method Detail

      • updateStatusText

        void updateStatusText​(java.lang.StringBuilder statusLine,
                              SBuild build,
                              boolean isRunning)
        Called to modify build status text.
        Parameters:
        statusLine - string builder which contains build status text
        build - build whose status is updated
        isRunning - if true, status of the running build is modified, false if build was finished and final status text is created