Difference between revisions of "SonarQube GitHub integration"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
* https://docs.sonarqube.org/latest/devops-platform-integration/github-integration/
 
* https://docs.sonarqube.org/latest/devops-platform-integration/github-integration/
  
Create project and select GitHub Action tutorial. You will be able to generate a Token for your project.
+
Create project and select GitHub Action tutorial. You will be able to generate a Token for your project and add it to [[sonar-project.properties]]
  
  
== Error ==
+
== Errors ==
15:51:48.047 DEBUG: GET 401 ***/api/settings/[[values.protobuf]] | time=921ms
+
* <code>15:51:48.047 DEBUG: GET 401 ***/api/settings/[[values.protobuf]] | time=921ms</code>
 
+
* <code>Factory method 'provide' threw exception; nested exception is Not authorized. Please check the properties [[sonar.login]] and [[sonar.password]].</code>
Factory method 'provide' threw exception; nested exception is Not authorized. Please check the properties [[sonar.login]] and [[sonar.password]].
 
  
 
== Related ==
 
== Related ==
* [[uses: sonarsource/sonarqube-scan-action]]
+
* <code>[[uses: sonarsource/sonarqube-scan-action]]</code>
 +
* <code>[[SONAR_TOKEN]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 06:51, 20 June 2023

Create project and select GitHub Action tutorial. You will be able to generate a Token for your project and add it to sonar-project.properties


Errors[edit]

  • 15:51:48.047 DEBUG: GET 401 ***/api/settings/values.protobuf | time=921ms
  • Factory method 'provide' threw exception; nested exception is Not authorized. Please check the properties sonar.login and sonar.password.

Related[edit]

See also[edit]

Advertising: