Bitrise Build Issue Report template
Description of the issue
I am having an authentication issue when trying to run a git clone. We are currently using submodules and from what i read you can not use HTTPS. You must use ssh. I created a user and added the SSH key to this user.
I followed this document from you guys. https://devcenter.bitrise.io/faq/adding-projects-with-submodules/
I am not sure what i am missing. When it tries to clone the submodules
Environment:
We are using Xcode 9.4.x, on macOS 10.13
Which build Step causes the issue and which version of the step?
E.g.: Git Clone v4.0.11
Reproducibility
This issue happens every time.
Local reproduction
Didnât seem to work correctly. it was skipping over git clone.
Local reproduction: Linux / Android (docker based) stack builds
Build log
Here is part of the log. If you need more info i can send the full log.
Initialized empty Git repository in /Users/vagrant/git/.git/
;[REDACTED]mgit âremoteâ âaddâ âoriginâ â[REDACTED]â
;[REDACTED]mgit âfetchâ âoriginâ â[REDACTED]â
Warning: Permanently added âgithub.com,[REDACTED]92.30.253.[REDACTED]3â (RSA) to the list of known hosts.
From github.com:[REDACTED]/[REDACTED]
- branch [REDACTED] -> FETCH_HEAD
- [new branch] [REDACTED] -> origin/[REDACTED]
;[REDACTED]mgit âcheckoutâ â[REDACTED]â
Switched to a new branch â[REDACTED]â
Branch â[REDACTED]â set up to track remote branch â[REDACTED]â from âoriginâ.
;[REDACTED]mgit âmergeâ âorigin/[REDACTED]â
Already up to date.
;[REDACTED]mgit âsubmoduleâ âupdateâ ââinitâ âârecursiveâ
Submodule âFrameworks/AlleeCommonâ (https://github.com/[REDACTED]/AlleeCommon.git) registered for path âFrameworks/AlleeCommonâ
Submodule âFrameworks/BLocalSyncâ (https://github.com/[REDACTED]/BLocalSync.git) registered for path âFrameworks/BLocalSyncâ
Cloning into â/Users/vagrant/git/Frameworks/AlleeCommonââŚ
Cloning into â/Users/vagrant/git/Frameworks/BLocalSyncââŚ
remote: Invalid username or password.
fatal: Authentication failed for âhttps://github.com/[REDACTED]/BLocalSync.git/â
fatal: clone of âhttps://github.com/[REDACTED]/BLocalSync.gitâ into submodule path â/Users/vagrant/git/Frameworks/BLocalSyncâ failed
Failed to clone âFrameworks/BLocalSyncâ. Retry scheduled
Cloning into â/Users/vagrant/git/Frameworks/BLocalSyncââŚ
remote: Invalid username or password.