When creating a git project from jenkins, it shows an error, for example, could not find any revisions to build

When trying to create a git project through jenkins, it gives the error 'ERROR: Could not find fixes for assembly. Check the repository and branch configuration for this job. Finished: FAILURE 'What does this error mean and what to do to remove it?

+3
source share
1 answer

I confirm: the empty repo has no HEAD and no branch. I mention this in Why do I need to explicitly push a new branch? "

This means that Jenkins, after cloning the repo, will not be able to check the branch (while it is not there).

+4
source

All Articles