-
Bug
-
Resolution: Fixed
-
Minor
-
None
When using declarative piplines with shared library, git diffstat use the commit hash from the shared library. Which leads to an exception:
org.eclipse.jgit.errors.MissingObjectException: Missing unknown 18c3e52eed8557cf9f7335c720186b07ad1b7082
It detects the right build from master, but uses the commit hash from the shared library instead of the project itself:
We already setting the scm-Parameter
discoverGitReferenceBuild defaultBranch: 'master', latestBuildIfNotFound: true, scm: projectName gitDiffStat scm: projectName
projectName is set to "nodejs-test"
- links to