-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
-
JCasC & Jenkins 2.449
Since the update to forensic plugin 2.1.0 I continuously have this warning in logs
WARNING o.j.p.s.d.DescribableModel#instantiate: WARNING: Unknown parameter(s) found for class type 'io.jenkins.plugins.forensics.git.reference.GitReferenceRecorder': defaultBranch
I changed our jenkins shared libraries code which was using defaultBranch instead of targetBranch
discoverGitReferenceBuild scm: scm.userRemoteConfigs[0].url, defaultBranch: lkUtils.getReferenceBranch()
to
discoverGitReferenceBuild scm: scm.userRemoteConfigs[0].url, targetBranch: lkUtils.getReferenceBranch()
But I still have the error in logs, I don't have any other reference to it.
I am still unsure if it's a bug or a misconfiguration from myself.