cathive / concourse-sonarqube-resource

performs SonarQube analyses and checks quality gates https://concourse-ci.org/ https://sonarqube.org/
Apache License 2.0
46 stars 50 forks source link

Fix Maven Scan Types When Debug is Set to True #70

Closed rcsalome closed 3 years ago

rcsalome commented 3 years ago

When debug is set to true, the -X option is added to the mvn command. However, the extra output from the command interferes with the setting of the maven_project_build_directory variable.

A simple fix is to always remove the -X pattern from the mvn command.

rcsalome commented 3 years ago

This is for the following issue. https://github.com/cathive/concourse-sonarqube-resource/issues/69 The approach is to just remove the -X, but another approach could be to just remove the DEBUG portion all together for that section.