Options
All
  • Public
  • Public/Protected
  • All
Menu

Data structure to configure goal contributions

Hierarchy

  • GoalStructure

Index

Properties

Properties

Optional dependsOn

dependsOn: string | Goal | Array<string | Goal>

Optional pre conditions for goals; can be actual goal instances or names of goal contributions

goals

goals: Goal | Goals | Array<Goal | Goals | Array<Goal | Goals>>

Goal instances to schedule

The following cases are supported:

goals: [ autofix, build ]

This means autofix will run after build

goals: [ [autofix, build] ]

This will schedule autofix and build concurrently

goals: [ [autofix, build], dockerBuild ]

This will schedule autofix and build concurrently and dockerBuild once autofix and build are completed

Optional test

test: PushTest | PushTest[]

Optional push tests to determine when to schedule provided goals

If an array of push tests is provided, they will get wrapped with allSatisfied/and.

Generated using TypeDoc