I am having an issue I can't find a solution for.
Bamboo Version 7.0.3 Build number 70016
Sonar for Bamboo Version:3.1.1
JRE version 1.8.0_202-b08
From a bamboo job I am successfully running Sonar Gradle task (Gradle 5.6.4/Zulu JDK 11.35.15)
Now with Sonar Maven 3 task I get this error
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.0.2:sonar (default-cli) on project hema-full-project: Unable to execute SonarQube: Fail to download libraries from server: Index 1 out of bounds for length 1 -> [Help 1]
I learned that this is a miss match between sonar-maven-plugin 3.0.2 and the sonarcloud.io API
I learned that the target sonar:sonar is part of maven and resolves automatically
So when I run this command from the bamboo server directly it ends ANALYSIS SUCCESSFUL;
/opt/apache-maven-3.2.3/bin/mvn org.sonarsource.scanner.maven:sonar-maven-plugin:18.104.22.1685:sonar -D....
Regardless of which maven version I use 3.2.3/3.5.4 Sonar Maven 3 task uses/resolves to sonar-maven-plugin:3.0.2:sonar
How to ensure Sonar Maven 3 using sonar-maven-plugin:3.9.0 ?
I should be reading documentation more closely
For future references
Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events