Bamboo specs ANYTASK

i am creating project using bamboo specs but i am unnable to create anytask tast because when i use Mapbuilder it is throwing error.

i integrated sonar addon i am creating plan for the same using AnyTask  

new AnyTask(new AtlassianModule("ch.mibex.bamboo.sonar4bamboo:sonar4bamboo.maven3task"))
.description("SONAR PROJECT")
.enabled(false)
.configuration(new MapBuilder()
.put("chosenSonarConfigId", "1")
.put("useGradleWrapper", "")
.put("useNewGradleSonarQubePlugin", "")
.put("sonarJavaSource", "")
.put("sonarProjectName", "")
.put("buildJdk", "JDK")
.put("gradleWrapperLocation", "")
.put("sonarLanguage", "")
.put("sonarSources", "")
.put("useGlobalSonarServerConfig", "true")
.put("failBuildForBrokenQualityGates", "")
.put("sonarTests", "")
.put("failBuildForSonarErrors", "")
.put("sonarProjectVersion", "")
.put("sonarBranch", "")
.put("executable", "maven 3.5")
.put("illegalBranchCharsReplacement", "_")
.put("sonarJavaTarget", "")
.put("environmentVariables", "")
.put("replaceSpecialBranchChars", "true")
.put("additionalProperties", "")
.put("autoBranch", "true")
.put("sonarProjectKey", "")
.put("overrideSonarBuildConfig", "")
.put("workingSubDirectory", "")
.build())

 

 

 

pls sugest 

1 answer

This widget could not be displayed.

Can you please  paste what error it returns?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

290 views 1 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you