Jenkins fail to clone from Gitlab because timeout Jenkins fail to clone from Gitlab because timeout jenkins jenkins

Jenkins fail to clone from Gitlab because timeout


Change the credential of the free style project to default option - none -

Because the ssh will use the API token of the Gitlab plugin value to access to the Gitlab server.

Therefore if you specify another SSH key to access the Gitlab server in the project, they will stuck forever.

This took my one week to find this out.


I got the same error when I mistakenly created a .git folder in the remote application folder. Deleting the folder fixed it.