diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mvn-phase-lib.sh | 7 | ||||
-rw-r--r-- | scripts/pom.xml | 2 |
2 files changed, 3 insertions, 6 deletions
diff --git a/scripts/mvn-phase-lib.sh b/scripts/mvn-phase-lib.sh index 6cef83e..ac755e0 100644 --- a/scripts/mvn-phase-lib.sh +++ b/scripts/mvn-phase-lib.sh @@ -52,10 +52,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} @@ -214,7 +211,7 @@ test_templates() run_tox_test() { - set -x + set -e -x CURDIR=$(pwd) TOXINIS=$(find . -name "tox.ini") for TOXINI in "${TOXINIS[@]}"; do diff --git a/scripts/pom.xml b/scripts/pom.xml index 12e71fb..4ff29df 100644 --- a/scripts/pom.xml +++ b/scripts/pom.xml @@ -45,7 +45,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. <sonar.language>py</sonar.language> <sonar.pluginName>Python</sonar.pluginName> <sonar.inclusions>**/*.py</sonar.inclusions> - <sonar.exclusions>tests/*</sonar.exclusions> + <sonar.exclusions>tests/*,setup.py</sonar.exclusions> <sonar.host.url>http://135.205.228.63:9000</sonar.host.url> </properties> <build> |