@Internal
public interface RepositoryStoredSpecsService
Modifier and Type | Method and Description |
---|---|
void |
cleanUnfinishedSpecsScans()
Clean up all stale Specs scan states
|
void |
reportMissingSpecs(VcsLocationBambooSpecsState vcsLocationBambooSpecsState,
VcsRepositoryData repository,
String errorMessages,
List<CommitContext> commits)
Record failed specs scan.
|
void |
runBambooSpecs(SpecsConsumer specsConsumer,
VcsRepositoryModuleDescriptor vcsRepositoryModuleDescriptor,
VcsRepositoryData repository,
VcsBranch vcsBranch,
VcsLocationBambooSpecsState specsState,
List<CommitContext> commits,
boolean shouldReportMissingSpecs)
Execute Bamboo Specs and import results
|
void runBambooSpecs(@NotNull SpecsConsumer specsConsumer, @NotNull VcsRepositoryModuleDescriptor vcsRepositoryModuleDescriptor, @NotNull VcsRepositoryData repository, @NotNull VcsBranch vcsBranch, @NotNull VcsLocationBambooSpecsState specsState, @NotNull List<CommitContext> commits, boolean shouldReportMissingSpecs) throws RepositoryException, IOException
specsConsumer
- consumer used to import execution resultsvcsRepositoryModuleDescriptor
- repository modulerepository
- repository to checkoutvcsBranch
- vcs branch to checkoutspecsState
- specs state for current executioncommits
- a list of commits related to Bamboo Specs, which occurred since last executionshouldReportMissingSpecs
- whether to notify user in case Specs were not found in repositoryRepositoryException
IOException
void cleanUnfinishedSpecsScans()
void reportMissingSpecs(@NotNull VcsLocationBambooSpecsState vcsLocationBambooSpecsState, @NotNull VcsRepositoryData repository, @NotNull String errorMessages, @NotNull List<CommitContext> commits)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences