jenkins-job-builder/tests/scm/fixtures/git-extensions-build-chooser.yaml
Dan Mick 60f0316389 scm: add support for hudson.plugins.git.util.AncestryBuildChooser
Adds a new scm.git choosing-strategy 'ancestry', corresponding to
AncestryBuildChooser, and two new options if that strategy is
selected, maximum-age and ancestor-sha1.

Includes doc and test updates.

Change-Id: Ib94f6100d4891b4196a6326c0678f638b4edbeab
Signed-off-by: Dan Mick <danmick@gmail.com>
2025-02-11 20:56:54 -08:00

7 lines
144 B
YAML

scm:
- git:
url: https://example.com/git/repo
choosing-strategy: ancestry
maximum-age: 7
ancestor-sha1: ancestor-sha1