Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Ground Controller Lvl 1
Message 1 of 2

https clone without password on CICD

have configured ssh keys with github so can cloned the repo using ssh clone without prompting the username and password

git clone git@github.com:test/test.git

 

but https will prompt the user and password for cloning the app on terminal.

As we are trying to CICD for  react.js application with muliple repositories, can cloned the main repo using ssh key on jenkin, but npm initialize will pull the other sub repo so it is prompted username and password.  is that possible to clone with https app using ssh keys

 

1 Reply
Highlighted
Community Manager
Message 2 of 2

Re: https clone without password on CICD

Hi @ziriusdeployment,

 

It is only possible to use SSH Keys when you clone via SSH. However, you should be able to clone your sub repositories using SSH as well.

 

Hope that helps!