Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SpawnBuilderOptions

Index

Properties

Optional commandFile

commandFile: string

Alternative to commands. File containing a list of newline-separated commands. May contain blank lines or comments beginning with #.

Optional commands

commands: Array<object>

Commands we'll execute via Node spawn. Command execution will terminate on the first error.

Optional errorFinder

errorFinder: ErrorFinder

Error finder: Necessary only if a spawned process can return non-zero on success.

logInterpreter

logInterpreter: InterpretLog

Interpreter of command output

name

name: string

Optional options

options: SpawnOptions

Methods

Optional deploymentUnitFor

  • deploymentUnitFor(p: GitProject, appId: AppInfo): Promise<string>

Optional enrich

  • enrich(options: SpawnOptions, p: GitProject): Promise<SpawnOptions>
  • If this method is implemented, it enriches the options returned by the options property with data from within the given project

    Parameters

    • options: SpawnOptions
    • p: GitProject

    Returns Promise<SpawnOptions>

projectToAppInfo

  • projectToAppInfo(p: Project): Promise<AppInfo>
  • Find artifact info from the sources of this project, for example by parsing a package.json or Maven POM file.

    Parameters

    • p: Project

    Returns Promise<AppInfo>

Generated using TypeDoc