@atomist/sdm-pack-spring
Version:
Atomist software delivery machine extension pack for Spring and Spring Boot applications
29 lines (28 loc) • 1.02 kB
TypeScript
import { CommandHandlerRegistration, ExecuteGoal } from "@atomist/sdm";
export declare const ListBranchDeploys: CommandHandlerRegistration;
/**
* Allow customization of Maven deployment
*/
export interface MavenDeployerOptions {
lowerPort: number;
baseUrl: string;
/**
* Pattern to find in output to indicate that the server has come up successfully.
* For example, matching something like "Started SpringRestSeedApplication in 3.931 seconds"
*/
successPatterns: RegExp[];
/**
* Command line arguments for the startup process
*/
commandLineArgumentsFor: (port: number, contextRoot: string) => string[];
/**
* The maximum number of concurrent deployments we allow. This is a valuable
* safeguard as too many can crash the machine.
*/
maxConcurrentDeployments: number;
}
/**
* Use Maven per-branch deploy
* @param opts options
*/
export declare function executeMavenPerBranchSpringBootDeploy(opts: Partial<MavenDeployerOptions>): ExecuteGoal;