findChangesetBaseline
findChangesetBaseline(
db,project,build):Promise<Build|null>
Defined in: packages/core/src/models/changeset.ts:83
The build a build is compared with: the latest accepted build of its branch before it, else the latest accepted default-branch build (the rule baselines use). Null for the first build.
Parameters
Section titled “Parameters”project
Section titled “project”gitDefaultBranch
Section titled “gitDefaultBranch”string
string
Returns
Section titled “Returns”Promise<Build | null>