Open tulachana opened 8 years ago
any updates , having same issue. I even set up git with ssh access, but it does not seem to work.
actually I just fixed it here, after configuring connection with ssh, I also changed remote from https to ssh and that did the trick. Just remove origin
git rm origin
and then add ssh one using
git remote add origin 'git@github.com:username/myrepo.git
By default the plugin tries to push to origin which should work. It executes the "git push" like you would on the command line.
Any body solved this? I have the same problem with jenkins ci The username doesn't on url when clone
You have to use ssh and Jenkins needs to be authorized with its key
diegobmd notifications@github.com schrieb am Fr., 3. März 2017, 23:10:
Any body solved this? I have the same problem with jenkins ci The username doesn't on url when clone
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/researchgate/gradle-release/issues/167#issuecomment-284084215, or mute the thread https://github.com/notifications/unsubscribe-auth/ABsepFcrATG1Z4mvkFcHJRebnOtHy77Jks5riI_kgaJpZM4IFkh2 .
So there is no way to push over https?
I struggled with this plugin and Jenkins as well. I solved the issue by adding a .netrc file to the Jenkins Agent, which I do not think is the best solution, but was the only way I could get things working.
I have found the problem to be that credentials used from the checkout stage are not used in the release stage. I could not get the git credential.helper to work for me either.
This problem also crops up if you have an SSH key passphrase configured. https://www.ssh.com/ssh/passphrase
Here we are 2023, same problem
HI ,
I am getting this error.
FAILURE: Build failed with an exception.
I don't know where to provide the Repo URL and the credentials to push to repository. Please help.