@ExperimentalApi
public interface BuildWarningSummaryCollationService
Modifier and Type | Field and Description |
---|---|
static String |
WARNINGS_ARTIFACT
Key of artifact name in job build result which holds build warnings details.
|
Modifier and Type | Method and Description |
---|---|
File |
aggregationFileForCommonContext(CommonContext commonContext)
Returns the file containing collected warnings for a given
CommonContext . |
void |
appendWarningAnnotations(TaskContext taskContext,
Iterable<WarningAnnotation> annotations,
Long associatedRepositoryId)
Adds warnings to a warnings file and updates the warnings summary for a build result.
|
void |
publishCollectedWarnings(BuildContext commonContext)
Ends collection of warnings and publishes them as a build artifact.
|
static final String WARNINGS_ARTIFACT
void appendWarningAnnotations(@NotNull TaskContext taskContext, @NotNull Iterable<WarningAnnotation> annotations, @NotNull Long associatedRepositoryId) throws IOException
IOException
void publishCollectedWarnings(@NotNull BuildContext commonContext) throws IOException
IOException
@NotNull File aggregationFileForCommonContext(@NotNull CommonContext commonContext)
CommonContext
.Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.