Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Build

Goal that performs builds: For example using a Maven or NPM Builder implementation

Hierarchy

Implements

  • Registerable

Index

Constructors

constructor

  • new Build(goalDetailsOrUniqueName?: FulfillableGoalDetails | string, ...dependsOn: Goal[]): Build
  • Parameters

    • Default value goalDetailsOrUniqueName: FulfillableGoalDetails | string = DefaultGoalNameGenerator.generateName("build")
    • Rest ...dependsOn: Goal[]

    Returns Build

Properties

callbacks

callbacks: GoalFulfillmentCallback[]

canceledDescription

canceledDescription: string

context

context: GitHubStatusContext

definition

definition: GoalDefinition

definitionOrGoal

definitionOrGoal: PredicatedGoalDefinition | Goal

dependsOn

dependsOn: Goal[]

environment

environment: string

failureDescription

failureDescription: string

fulfillments

fulfillments: Fulfillment[]

goalListeners

goalListeners: GoalExecutionListener[]

inProcessDescription

inProcessDescription: string

listeners

listeners: BuildListener[]

name

name: string

plannedDescription

plannedDescription: string

projectListeners

projectListeners: GoalProjectListenerRegistration[]

registrations

requestedDescription

requestedDescription: string

sdm

sdm: SoftwareDeliveryMachine

skippedDescription

skippedDescription: string

stoppedDescription

stoppedDescription: string

successDescription

successDescription: string

uniqueName

uniqueName: string

waitingForApprovalDescription

waitingForApprovalDescription: string

waitingForPreApprovalDescription

waitingForPreApprovalDescription: string

Methods

Protected addFulfillment

  • addFulfillment(fulfillment: Fulfillment): this
  • Parameters

    • fulfillment: Fulfillment

    Returns this

Protected addFulfillmentCallback

  • addFulfillmentCallback(cb: GoalFulfillmentCallback): this
  • Parameters

    • cb: GoalFulfillmentCallback

    Returns this

handleBuildCompleteEvent

  • handleBuildCompleteEvent(event: EventFired<Subscription>, context: HandlerContext, goal: Build): Promise<HandlerResult>

register

  • register(sdm: SoftwareDeliveryMachine): void
  • Parameters

    • sdm: SoftwareDeliveryMachine

    Returns void

with

withExecutionListener

  • withExecutionListener(listener: GoalExecutionListener): this
  • Parameters

    • listener: GoalExecutionListener

    Returns this

withListener

  • withListener(listener: BuildListener): this
  • Parameters

    • listener: BuildListener

    Returns this

withProjectListener

  • withProjectListener(listener: GoalProjectListenerRegistration): this
  • Parameters

    • listener: GoalProjectListenerRegistration

    Returns this

withService

  • withService(registration: ServiceRegistration<any>): this
  • Parameters

    • registration: ServiceRegistration<any>

    Returns this

Generated using TypeDoc