Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,840
Community Members
 
Community Events
168
Community Groups

How to configure SonarQube with Bamboo Spec (yaml)

I want to configure a build plan as a Bamboo Spec in repo. Unfortunately, I can't find any documentation about how I can configure SonarQube task with Bamboo Spec.

 

Could someone provide a snapshot of this task configured as spec in yaml?

2 answers

Hi,

The Sonar for Bamboo app currently only supports Java Specs via the AnyTask provided by Bamboo. You can generate it by the Bamboo export plan to Spec feature.

This is currently not possible for YAML, as there is no export feature and also because there is no support for tasks built into the YAML support. You might want to vote for https://jira.atlassian.com/browse/BAM-20803 which covers this.

Best regards,
Michael (app vendor)

0 votes
Jeyanthan I Atlassian Team Jun 02, 2020

Hi Alexander,

External plugins can be configured using the generic Anytask class that you can find below:

Cheers,
Jey

Unfortunately, this doesn't work for Yaml format definition.

Jeyanthan I Atlassian Team Jun 02, 2020

That's true. AnyTask is not available for YAML Specs yet as of Bamboo 7.0.4. As Alex pointed out earlier, please cast your vote on BAM-20803 and stay tuned for updates.

Thanks for your patience.

Cheers,
Jey

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

301 views 0 7
Read article

Atlassian Community Events