diff options
author | Andrew Gauld <ag1282@att.com> | 2018-02-22 11:35:58 -0500 |
---|---|---|
committer | Andrew Gauld <ag1282@att.com> | 2018-02-22 11:36:31 -0500 |
commit | b758d3686595c03eeb1bfe4f50b86f28b7b8c86f (patch) | |
tree | d39f5509e654f1756bd80853275b34b2cd2a6872 /mvn-phase-script.sh | |
parent | bc19a3632f8df30e28876418f00cd96caa6dfa91 (diff) |
Make SONAR code coverage work
Change-Id: I8a61f287d439a5bf0b2cb203e31b514a2cae0a5e
Issue-ID: DCAEGEN2-355
Signed-off-by: Andrew Gauld <ag1282@att.com>
Diffstat (limited to 'mvn-phase-script.sh')
-rwxr-xr-x | mvn-phase-script.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mvn-phase-script.sh b/mvn-phase-script.sh index 0978017..519e809 100755 --- a/mvn-phase-script.sh +++ b/mvn-phase-script.sh @@ -58,10 +58,7 @@ if [ -z "$WORKSPACE" ]; then WORKSPACE=$(pwd) fi -if [ -z "$SETTINGS_FILE" ]; then - echo "SETTINGS_FILE environment variable not set. Cannot proceed" - exit -fi +export SETTINGS_FILE=${SETTINGS_FILE:-$HOME/.m2/settings.xml} @@ -105,6 +102,7 @@ compile) ;; test) echo "==> test phase script" + run_tox_test ;; package) echo "==> package phase script" |