Rename Sonar Capability in Bamboo

Sven-Olov Lindqvist
Contributor
April 12, 2022

Intending to rename the capability for the SonarScanner in Bamboo. When changing the name in the capability settings for an agent, the new name is not changed in all build plans that are using the scanner. With many build plans using the Sonar scan task, it is a lot of manual work to make the change, 

1 answer

0 votes

Hi!

Yes, renaming a capability leads to an inconsistent state in the Sonar tasks. The same happens for the NodeJS tasks, you can follow the ticket here BAM-20531 . Tasks that store the capability/executable in the task configuration will still show the old value after the renaming.

We did not find a reasonable way to mitigate this issue, mainly because we are missing API’s to find tasks based on configuration values.


Thanks for understanding,
Christian - Mibex Software

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events