-
Bug
-
Resolution: Unresolved
-
Minor
-
None
Hi,
I'm trying to set up a new build job which need to do a checkout from a forgejo/gitea repository.
This repository was created with a SHA256 hash algorithm.
When the jenkins buildjob runs for the first time it creates a local repositiory using the following command:
git init /buildsystem/.jenkins/....
This command creates the local repository with the default hash algorithm, SHA1.
Because of this, it is incompatible with the remote repo, resulting in the following error when fetching the repo.
fatal: mismatched algorithms: client sha1; server sha256
The complete build output: jenkins_git_sha256.txt
Is SHA256 hashing supported, and if not, can it be added?
The local repo creation should be done with the following command:
git init --object-format=sha256 /buildsystem/.jenkins/....
Regards,
Tom