Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

I am trying to push code from jenkins slave to GitHub, but it saying could not read Password for url

TR October 23, 2019

I am cloning code into Jenkins slave from GitHub and making few changes and trying to push back to GitHub, but here I am encountering below error :

Here I am setting remote repo as below 

git remote add origin https://$variable@github.com/user/repo.git

 

Where I assigned user name and password to ' variable '

 

fatal: could not read Password for 'git-repo-url': No such device or address
Build step 'Execute shell' marked build as failure
Finished: FAILURE

 

Any help will be appreciated.  

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events