diff options
author | Lusheng Ji <lji@research.att.com> | 2018-03-13 12:56:21 -0400 |
---|---|---|
committer | Lusheng Ji <lji@research.att.com> | 2018-03-14 14:13:45 +0000 |
commit | fbd0d3f76fa27fbb5a915891da823de9dca3862e (patch) | |
tree | e8ef6c2890a11112c95be5ce0ad3f9f05b5e8ee0 /mvn-phase-script.sh | |
parent | 4cc7a3e4e33d607f344ac413a2cc9f763e8cf4bd (diff) |
Fix SONAR reporting
Issue-ID: DCAEGEN2-206
Change-Id: I3b839c8c16197dbc555b533ddbd730404d3f7790
Signed-off-by: Lusheng Ji <lji@research.att.com>
Diffstat (limited to 'mvn-phase-script.sh')
-rwxr-xr-x | mvn-phase-script.sh | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/mvn-phase-script.sh b/mvn-phase-script.sh index cbf8dd6..bf0396b 100755 --- a/mvn-phase-script.sh +++ b/mvn-phase-script.sh @@ -39,6 +39,11 @@ if [ -z "$SETTINGS_FILE" ]; then fi +if ! wget -O ${PROJECT_ROOT}/mvn-phase-lib.sh \ + "$MVN_RAWREPO_BASEURL_DOWNLOAD"/org.onap.dcaegen2.utils/R2/scripts/mvn-phase-lib.sh; then + echo "Fail to download mvn-phase-lib.sh" + exit 1 +fi source "${PROJECT_ROOT}"/mvn-phase-lib.sh @@ -69,7 +74,13 @@ compile) test) echo "==> test phase script" set +e - run_tox_test + case $MVN_PROJECT_MODULEID in + dcae-cli) + run_tox_test + ;; + *) + ;; + esac set -e ;; package) |