commit property
The commit the artifact was built from — the build manifest's
gitSha, never a commit found by searching for a version.
Those are not the same commit and the difference has shipped wrong code: a version bump lands, review then adds several more commits, and the release is published from the branch tip. A tag placed at "the commit carrying the version" names code predating every one of those fixes.
Implementation
final String commit;