Recibo este error en mi server de Jenkins
Failed to connect to repository : Command "git -c core.askpass=true ls-remote -h git@mygitrepository.com:my_username/myrepository.git HEAD" returned status code 128: stdout: stderr: Could not create directory '/home/my_username/.ssh'. Failed to add the host to the list of known hosts (/home/my_username/.ssh/known_hosts). Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
No sé por qué, pero el complemento intenta crear .ssh en / home / my_username /, que no existe en Windows. Estoy tratando de enrutarlo a otra carpeta "decir C: / Jenkins" pero estableciendo el perfil USERPROFILE o HOME. variable no hace el trabajo.
Alguna ayuda ?
Gracias