Integrate Bamboo (Version 7.1.2) with SonarQube (Developer EditionVersion 8.4.2)

Naveen Rajan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 5, 2020

Hello there,

    I am new to Bamboo. I need to integrate Bamboo with SonarQube. I was surprised that SonarQube plugins were not packaged by default. Currently, the machine with Bamboo does not have Net access & I am unable to access the Marketplace.

    Please advise me on my options:1)Any free plugins 2)I want to avoid the SonarQube CLI/Scripting integration approach

Thanks!

NR

1 answer

0 votes
Charlie Misonne
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 12, 2020

Well, there is only 1 SonarQube plugin for Bamboo and it is not free: https://marketplace.atlassian.com/apps/1212756/sonar-for-bamboo?hosting=server&tab=overview

I am using this one in java development. It's a good plugin but you achieve almost the same by just using the proper arguments in your build commands (maven, gradle, ...)

Are you programming in Java? I can show you an example of the plain maven parameters.

The advantage of this plugin is you do not have to think about those parameters yourself because you can just (un)check the options you want.
It also provides a link to the SonarQube analysis on the build summary page after each build.

 

In short: normally you don't need a plugin to execute a sonarqube analysis via Bamboo. You can pass the parameters in your build command.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events