Interface BuildWarningSummaryCollationService

    • Field Detail

      • WARNINGS_ARTIFACT

        static final String WARNINGS_ARTIFACT
        Key of artifact name in job build result which holds build warnings details.
    • Method Detail

      • appendWarningAnnotations

        void appendWarningAnnotations​(@NotNull
                                      @NotNull TaskContext taskContext,
                                      @NotNull
                                      @NotNull Iterable<WarningAnnotation> annotations,
                                      @NotNull
                                      @NotNull Long associatedRepositoryId)
                               throws IOException
        Adds warnings to a warnings file and updates the warnings summary for a build result.
        Throws:
        IOException
      • publishCollectedWarnings

        void publishCollectedWarnings​(@NotNull
                                      @NotNull BuildContext commonContext)
                               throws IOException
        Ends collection of warnings and publishes them as a build artifact.
        Throws:
        IOException
      • aggregationFileForCommonContext

        @NotNull
        @NotNull File aggregationFileForCommonContext​(@NotNull
                                                      @NotNull CommonContext commonContext)
        Returns the file containing collected warnings for a given CommonContext.