Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix shellcheck errors in scripts
[releng/global-jjb.git]
/
shell
/
maven-sonar.sh
diff --git
a/shell/maven-sonar.sh
b/shell/maven-sonar.sh
index
e78d156
..
d370748
100644
(file)
--- a/
shell/maven-sonar.sh
+++ b/
shell/maven-sonar.sh
@@
-25,7
+25,7
@@
params+=("--settings $SETTINGS_FILE")
# Disable SC2086 because we want to allow word splitting for $MAVEN_* parameters.
# shellcheck disable=SC2086
# Disable SC2086 because we want to allow word splitting for $MAVEN_* parameters.
# shellcheck disable=SC2086
-$MVN $MAVEN_GOALS \
+
_JAVA_OPTIONS="$JAVA_OPTS"
$MVN $MAVEN_GOALS \
-e -Dsonar \
${params[*]} \
$MAVEN_OPTIONS $MAVEN_PARAMS
-e -Dsonar \
${params[*]} \
$MAVEN_OPTIONS $MAVEN_PARAMS