From: Yun Huang Date: Sun, 18 Mar 2018 07:36:59 +0000 (+0800) Subject: Correct sonar script pathname X-Git-Tag: v1.1.2~185 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=eb0fb51034382b1cdc85798c428b4f501c247eda;p=multicloud%2Fopenstack.git Correct sonar script pathname Change-Id: Idc527e0bea04556f78789042faf2d0fff7ccacf4 Issue-ID: MULTICLOUD-171 Signed-off-by: Yun Huang --- diff --git a/newton/pom.xml b/newton/pom.xml index 4f16383f..1fda1076 100644 --- a/newton/pom.xml +++ b/newton/pom.xml @@ -36,7 +36,7 @@ UTF-8 UTF-8 https://nexus.onap.org - . + .,../share xunit-results.xml coverage.xml py @@ -52,7 +52,7 @@ exec-maven-plugin 1.2.1 - ${session.executionRootDirectory}/mvn-phase-script.sh + ${project.basedir}/mvn-phase-script.sh ${project.groupId} diff --git a/newton/tox.ini b/newton/tox.ini index e3334cf1..ec17886d 100644 --- a/newton/tox.ini +++ b/newton/tox.ini @@ -16,12 +16,12 @@ setenv = deps = -r{toxinidir}/requirements.txt commands = coverage run --branch manage.py test newton - coverage report --omit="./venv-tox/*,./.tox/*,*tests*,*__init__.py,*newton_base*,*common*" --fail-under=30 + coverage report --omit="./venv-tox/*,./.tox/*,*tests*,*__init__.py" --fail-under=30 [testenv:pep8] deps=flake8 commands=flake8 [testenv:cov] -commands = coverage xml --omit="./venv-tox/*,./.tox/*,*tests*,*__init__.py,*newton_base*,*common*, *site-packages*" +commands = coverage xml --omit="./venv-tox/*,./.tox/*,*tests*,*__init__.py, *site-packages*" diff --git a/ocata/pom.xml b/ocata/pom.xml index bf90f6e1..29032167 100644 --- a/ocata/pom.xml +++ b/ocata/pom.xml @@ -49,7 +49,7 @@ exec-maven-plugin 1.2.1 - ${session.executionRootDirectory}/mvn-phase-script.sh + ${project.basedir}/mvn-phase-script.sh ${project.groupId} diff --git a/windriver/pom.xml b/windriver/pom.xml index 2c08bdad..0b216c59 100644 --- a/windriver/pom.xml +++ b/windriver/pom.xml @@ -49,7 +49,7 @@ exec-maven-plugin 1.2.1 - ${session.executionRootDirectory}/mvn-phase-script.sh + ${project.basedir}/mvn-phase-script.sh ${project.groupId}