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.