public class RepositoryStoredSpecsServiceImpl extends Object implements RepositoryStoredSpecsService
Modifier and Type | Field and Description |
---|---|
static String |
SUBDIR_CHECKOUT |
Constructor and Description |
---|
RepositoryStoredSpecsServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
cleanUnfinishedSpecsScans()
Clean up all stale Specs scan states
|
void |
reportSpecsScanError(VcsLocationBambooSpecsState vcsLocationBambooSpecsState,
String errorMessage,
List<CommitContext> commits)
Record failed specs scan.
|
void |
runBambooSpecs(SpecsConsumer specsConsumer,
VcsRepositoryModuleDescriptor vcsRepositoryModuleDescriptor,
VcsRepositoryData repository,
VcsBranch vcsBranch,
VcsLocationBambooSpecsState specsState,
List<CommitContext> commits)
Execute Bamboo Specs and import results
|
public static final String SUBDIR_CHECKOUT
public void runBambooSpecs(@NotNull SpecsConsumer specsConsumer, @NotNull VcsRepositoryModuleDescriptor vcsRepositoryModuleDescriptor, @NotNull VcsRepositoryData repository, @NotNull VcsBranch vcsBranch, @NotNull VcsLocationBambooSpecsState specsState, @NotNull List<CommitContext> commits) throws IOException
RepositoryStoredSpecsService
runBambooSpecs
in interface RepositoryStoredSpecsService
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 executionIOException
public void cleanUnfinishedSpecsScans()
RepositoryStoredSpecsService
cleanUnfinishedSpecsScans
in interface RepositoryStoredSpecsService
public void reportSpecsScanError(@NotNull VcsLocationBambooSpecsState vcsLocationBambooSpecsState, @NotNull String errorMessage, @NotNull List<CommitContext> commits)
RepositoryStoredSpecsService
reportSpecsScanError
in interface RepositoryStoredSpecsService
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.