Skip to content

v2.0

Latest
Compare
Choose a tag to compare
@chadlwilson chadlwilson released this 16 Nov 16:52
· 179 commits to master since this release
d0b443c

NEW FEATURES

  • Support for adding subPaths to getLatestRevision and getRevisionsSince operations to support working with mono-repos by filtering for particular paths of interest.
  • Support for features GoCD's Git material has added subsequent to the apparent fork of this code, such as
    • --no-checkout support when using the Git command line (not available with JGit). Should only be used server-side!
    • Augments --depth=x shallow clone support to match GoCD's built-in behaviour by default. If a shallow clone on an agent needs to fetch an older revision, it will fetch n more commits (up to 100, by default) and try to find the revision there. If it still can't find it, it will completely fetch the entire repository. Should only be used agent-side!

ENHANCEMENT

  • Logging improved and made more consistent with GoCD's built-in Git material
  • Makesgit-cmds default behaviour and use of the Git command line consistent with the GoCD GitMaterial as at time of release. The library now clones and fetches more consistently with GoCD allowing to be as close to possible as drop-in replacements for GoCD itself.

CHORE

  • BREAKING Library now requires Java 9+. Code cleaned up to use newer language features.
  • Dependencies refreshed to latest versions