Latest Plugin Updates for GIT is causing build failure for Multi Branch Pipeline

After GIT plugin updates, Jenkins Multi branch pipelines are failing with below issue, Downgrading the
GIT plugin things works smoothly.

Command “C:\Program Files\Git\bin\git fetch --tags --force --progress – origin +refs/heads/:refs/remotes/origin/” returned status code 128:
stdout:
stderr: git@code.siemens.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.

Git 4.11.4
Git client 3.11.1
Git Pipeline for Blue Ocean 1.25.5

Regards
Pramod

Check the release notes, yuo need to properly set the host check options for your usecase, as the default has been changed due to security reasons.

1 Like