X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fmaven-sonar.sh;h=ef9bea28dab99c48ff6993d147f2515d66bbb12c;hb=c00e75c79a275db041585fe532ab0a36169c3c38;hp=4a3bdb8787a1ac34801dca4799772aea9d32feec;hpb=7f77f1fb4e685f631912c25955bfd54d5b06c22c;p=releng%2Fglobal-jjb.git diff --git a/shell/maven-sonar.sh b/shell/maven-sonar.sh index 4a3bdb87..ef9bea28 100644 --- a/shell/maven-sonar.sh +++ b/shell/maven-sonar.sh @@ -22,17 +22,17 @@ export MAVEN_OPTS # Disable SC2086 because we want to allow word splitting for $MAVEN_* parameters. # shellcheck disable=SC2086 $MVN clean deploy \ - -Dsonar \ + -e -Dsonar \ --global-settings "$GLOBAL_SETTINGS_FILE" \ --settings "$SETTINGS_FILE" \ -DaltDeploymentRepository=staging::default::file:"$WORKSPACE"/m2repo \ - $MAVEN_PARAMS $MAVEN_OPTIONS + $MAVEN_OPTIONS $MAVEN_PARAMS # Disable SC2086 because we want to allow word splitting for $MAVEN_* parameters. # shellcheck disable=SC2086 $MVN $SONAR_MAVEN_GOAL \ - -Dsonar -Dsonar.host.url="$SONAR_HOST_URL" \ + -e -Dsonar -Dsonar.host.url="$SONAR_HOST_URL" \ --global-settings "$GLOBAL_SETTINGS_FILE" \ --settings "$SETTINGS_FILE" \ -DaltDeploymentRepository=staging::default::file:"$WORKSPACE"/m2repo \ - $MAVEN_PARAMS $MAVEN_OPTIONS + $MAVEN_OPTIONS $MAVEN_PARAMS