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

task 'sonarqube scanner' fails with Not authorized. Please check the properties sonar.login and sonar.password. #1231

Open
kmalik4 opened this issue Jan 19, 2024 · 0 comments

Comments

@kmalik4
Copy link

kmalik4 commented Jan 19, 2024

Expected Behavior

SonarQube scanner should trigger

Actual Behavior

Getting error - Not authorized. Please check the properties sonar.login and sonar.password.

Steps to Reproduce the Problem

  1. Using Version task version 0.2
  2. Don't see any way to pass log and password to the task.
  3. Configured sonar.login & sonar.password in sonar-project.properties within source code repo

Additional Info

Don't see option to use task latest version 0.4 because it needs parameter 'SONAR_ORGANIZATION' but we are running sonarqube on on-prem with version 8.9 so can't use this parameter so only choice is to use task version 0.2.

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

1 participant