Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when building on Jenkins (with Service Account) #42

Closed
lordkiz opened this issue Mar 23, 2020 · 2 comments
Closed

Errors when building on Jenkins (with Service Account) #42

lordkiz opened this issue Mar 23, 2020 · 2 comments

Comments

@lordkiz
Copy link

lordkiz commented Mar 23, 2020

I get the error Invalid default value for firebase_cli_path, doesn't match verify_block when building on jenkins. I understand this is because I did not pass a firebase_cli_path as a param.
However, I can see that from the docs you can use service-accounts and set an env variable GOOGLE_APPLICATION_CREDENTIALS as the path to the service account's file, all of which I have done.
Any idea how/if this plugin uses service-accounts?

fastlane-plugin-firebase_app_distribution: 0.1.4

@alexsinger
Copy link

The fastlane plugin makes all calls through the Firebase CLI, so authentication and uploads are all handed through it. When you set GOOGLE_APPLICATION_CREDENTIALS, those credentials are used to authenticate the Firebase CLI calls. You still need to set the firebase_cli_path to tell plugin where your Firebase CLI is installed.

@lordkiz
Copy link
Author

lordkiz commented Mar 28, 2020

Thanks @alexsinger

@lordkiz lordkiz closed this as completed Mar 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants