Repository not found in git jenkins Repository not found in git jenkins jenkins jenkins

Repository not found in git jenkins


Fetching upstream changes from https://github.com/somerepository.git ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: Command "git fetch --tags --progress https://github.com/somerepository.git +refs/heads/:refs/remotes/origin/" returned status code 128: stdout: stderr: remote: Repository not found.

Usually https git URL will not have .git at the end. Please confirm your URL. I guess you are trying to access an ssh url.


Hi Try to make your Jenkins as ssh keyless. Its failure as its unable to fetch your password to enter git. Its failing to pull the repo.

for ssh-keygen on jenkins after you login as su - jenkins

copy the key ssh-rsa.pub and paste it in enterprise github setting

there is an option for ssh key add

paste this publish key.

Give the git repository url and in credentials click none and specify your git branch to be pulled in branch section.


This just means your user ID isn't valid. Maybe it's suspended, maybe it's no longer active. Go back to the Jenkins job page and click Configure. Select a valid ID and save the changes. You should be using a service account anyway, not a personal account.

If you have to use the account that's already there, go to your ops/admin folks and get the ID reinstated.