Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cloning git private repo using Integrity Continuous Integration causing problem

I have successfully deployed Integrity on Heroku. I have been able to build script for public repo on git and the build runs successfully. But running integrity for private repo gives me error as

error: The requested URL returned error: 401\nerror: The requested URL returned error: 401\nerror: The requested URL returned error: 401\n"
"error: pathspec 'origin/master' did not match any file(s) known to git.\n"

I am using the https version for cloning since heroku does not ssh cloning.

I think that for cloning private repo we need to provide password, so is there any way in Integrity to provide a password?

Or is there any other way for the same.

like image 489
Amit Avatar asked Feb 25 '26 12:02

Amit


1 Answers

Firstly, you need to uncheck the "Public project" checkbox in Integrity project setting. Secondly, you need to pass the password on the https url. And that should work as it works for me :)

like image 132
Lecky Lao Avatar answered Feb 27 '26 03:02

Lecky Lao



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!