The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

TAGS
AUG Leaders

Atlassian Community Events