git clone, push worked with same private key that i am putting in "${project.basedir}/id_rsa". I notice that the error "GitLab: The project you were looking for could not be found" appears when I disable the public key in gitlab. So, it is possible that plugin is defaulting to ~/id_rsa and ignoring what i am putting in pom?
Daniel Flower Mod Durgesh Verma • 4 days ago
Yes, that sounds like the problem. That's not supported currently sorry but feel free to open an issue on the GitHub page or make a pull request.
So it is jgit that handles all this stuff for the plugin. I've just upgraded to the latest version of jgit, but I have no idea if this will fix it or not. You can try by using version 3.0.0 of the plugin.
git clone, push worked with same private key that i am putting in "${project.basedir}/id_rsa ". I notice that the error "GitLab: The project you were looking for could not be found" appears when I disable the public key in gitlab. So, it is possible that plugin is defaulting to ~/id_rsa and ignoring what i am putting in pom?
Daniel Flower Mod Durgesh Verma • 4 days ago
Yes, that sounds like the problem. That's not supported currently sorry but feel free to open an issue on the GitHub page or make a pull request.