Problems deploying to Heroku using Jenkins (CI) (Credentials)

Asked

Viewed 85 times

1

Well I have a problem where I am not able to connect to the Heroku git server to be able to push to the server. I’m using Jenkins as an IC tool but I haven’t found a way to use credentials to connect it. Someone could help me.

Failed to connect to repository : Command "git.exe -c core.askpass=true ls- remote -h https://git.heroku.com/blabla HEAD" returned status code 128:
stdout: 
stderr: github --credentials get: github: command not found
github --credentials erase: github: command not found
remote: ! WARNING:
remote: ! Do not authenticate with username and password using git.
remote: ! Run `heroku login` to update your credentials, then retry the git command.
remote: ! See documentation for details: https://devcenter.heroku.com/articles/http-git#authentication
fatal: Authentication failed for 'https://git.heroku.com/blabla/'

I saw a tutorial to try to do the same but it did not work very well, no.

Link to the Example

  • I don’t think you have git installed on the machine running Jenkins

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.