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

0 votes

Can you please  paste what error it returns?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Hipchat Cloud

Hipchat Cloud and Stride End of Life: Just over 90 days away

Earlier this year we made the difficult decision to discontinue our team messaging tools, Stride and Hipchat. The end of life date for Stride and Hipchat Cloud is quickly approaching - February 15, 2...

40 views 0 2
Read article

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