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

Detect credentials not being set #153

Open
szpak opened this issue Feb 20, 2020 · 0 comments
Open

Detect credentials not being set #153

szpak opened this issue Feb 20, 2020 · 0 comments

Comments

@szpak
Copy link
Member

szpak commented Feb 20, 2020

Recently there were a few cases with 401 Unathorized. While there is more than one reason to get that error, quite often it seemed to be just a problem with settings the credentials in the CI server (and reading them in Gradle) - which currently is quite hard do diagnoze remotly with just --info enabled. It could be useful to detect if username and/or password is not set. For non-local system it is rather not a common situation to have an anonymous access for releasing packages.

Plugin could display what username is used (at INFO) and warn (at the WARN or only at the INFO level?) about suspiciously not set credentials. It has to be done in the way to do not disclose sensitive information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant