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

switched to the compatible community branch plugin #39

Closed
vdelendik opened this issue Apr 4, 2023 · 4 comments
Closed

switched to the compatible community branch plugin #39

vdelendik opened this issue Apr 4, 2023 · 4 comments
Milestone

Comments

@vdelendik
Copy link
Contributor

https://github.com/mc1arke/sonarqube-community-branch-plugin/releases/tag/1.13.0

that's latest compitible with 9.5.0 sonarqube

@vdelendik vdelendik added this to the 1.4 milestone Apr 4, 2023
@vdelendik
Copy link
Contributor Author

1.13.0 not compatible as well:

2023.04.04 11:38:36 WARN  web[][o.s.c.a.AnnotationConfigApplicationContext] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@5c29bfd-org.sonar.server.plugins.ServerPluginManager': Initialization of bean failed; nested exception is Plugin Community Branch Plugin [communityBranchPlugin] requires at least SonarQube 9.7.0.61563
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@5c29bfd-org.sonar.server.plugins.ServerPluginManager': Initialization of bean failed; nested exception is Plugin Community Branch Plugin [communityBranchPlugin] requires at least SonarQube 9.7.0.61563

@vdelendik vdelendik changed the title switched to the 1.13.0 community branch plugin switched to the compatible community branch plugin Apr 4, 2023
@vdelendik
Copy link
Contributor Author

done, 1.8.3 became compatible with sonar 9.5.0 community edition

@vdelendik
Copy link
Contributor Author

still the same using 9.5.0 sonar and 1.8.3 plugin:

4:56:30  [INFO] [jenkins-event-spy] Generated /opt/jenkins/workspace/qps/carina-demo/onPush-carina-demo@tmp/withMavene4ddd5bb/maven-spy-20230404-115604-60211033782800145113940.log
14:56:30  [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar (default-cli) on project carina-demo: Not authorized. Analyzing this project requires authentication. Please provide a user token in sonar.login or other credentials in sonar.login and sonar.password. -> [Help 1]
14:56:30  [ERROR] 
14:56:30  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
14:56:30  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
14:56:30  [ERROR] 
14:56:30  [ERROR] For more information about the errors and possible solutions, please read the following articles:

@vdelendik
Copy link
Contributor Author

done. 9.5.0 community edition is used with 1.12.0 branch plugin. so far to test we have to disable force authentication somehow in advance using:

curl -XPOST -u admin:admin "http://localhost:9000/api/settings/set?key=sonar.forceAuthentication&value=false"

new ticket will be submitted to make it at once only

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