There's an issue that happens If you have a sonar-project.properties file without a newline at the end and provide an input for scanner_properties, the scanner_properties value is appended along with the value of the last line, e.g:
sonar-project.properties:
foo=bar
scanner_properties:
bar=baz
the resulting file will look like:
foo=barbar=baz
I'm adding this empty echo just to add a newline to the existing file before appending the input to avoid this issue.
There's an issue that happens If you have a
sonar-project.properties
file without a newline at the end and provide an input forscanner_properties
, thescanner_properties
value is appended along with the value of the last line, e.g:sonar-project.properties
:scanner_properties
:the resulting file will look like:
I'm adding this empty echo just to add a newline to the existing file before appending the input to avoid this issue.