mibexsoftware / sonar-bitbucket-plugin

SonarQube plug-in to create pull request comments for found issues in Bitbucket Cloud
Other
122 stars 72 forks source link

Not able to override the sonar.bitbucket.minSeverity #27

Closed lcasat closed 8 years ago

lcasat commented 8 years ago

I tried to override the minimum severity by adding command line parameter to my maven job, but that failed. -Dsonar.bitbucket.minSeverity= CRITICAL

maven-plugin:3.0.2:sonar (default-cli) on project ia-marketing: requirement failed: [sonar4bitbucket] Invalid severity at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)

mrueegg commented 8 years ago

Hi, could you please remove the space in front of " CRITICAL" and try again?

lcasat commented 8 years ago

That space is the issue. Now it's working. Thanks.