Reputation: 11
I suffer from error like in the title. Details below:
After Jenkins update from version 2.319.3 LTS to any later, Jenkins loses its ability to connect to GitLab repository (error below). What could be important, it happens after rebooting host (before updating, restarting virtual machine doesn't harm Jenkins).
Error in project configuration
What I have checked:
Do You have any tips what/where can I search my answer? Do You think it's plugin related?
Thank You in advance for Your time.
Upvotes: 1
Views: 233
Reputation: 1323183
after update, invoking command "
git ls-remote -h USER@SERVER:REPO
" returns nothing;
That is expected, as an on-premise GitLab instance on SERVER would always use the service account Git.
I would try and connect to the Jenkins main controller machine (the one which executes an git ls-remote
when changing job settings), and try a ssh -Tv -i /path/to/private/key git@SERVER
command directly in command line (using the same account as the one running the Jenkins instance)
That way, you can check if this is SSH-related or purely a Jenkins issue.
Upvotes: 1