Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bamboo 6.3.1 - Add Sonar Maven 3 configuration using Java

Sabarish February 6, 2018

Hi,

 I have added Maven task like this successfully.

MavenTask mavenTask = new MavenTask()
.goal("clean install -U")
.hasTests(false)
.version3()
.jdk("JDK 1.8")
.executableLabel("Maven 3.x")
.workingSubdirectory("service-aggregator")
.enabled(false);

How can I add Sonar Maven 3 Task using java code?

1 answer

0 votes
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 6, 2018

The best way to figure it out is to add it through UI and then use Export as Bamboo Specs action from Plan configuration

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events