sonarqube/run-upgrade-tests.sh

21 lines
547 B
Bash
Raw Normal View History

2016-03-02 17:49:10 +01:00
#!/bin/bash
# Run upgrade tests. SonarQube must be already built in order to
# make the ZIP file available for tests.
# Arguments:
# 1. the path to Orchestrator properties file. If empty, then default values are used. Example: "file:///Users/me/orchestrator.properties"
#
# Example:
# ./run-upgrade-tests.sh "file:///Users/me/orchestrator-mysql56.properties"
2016-03-02 17:49:10 +01:00
set -euo pipefail
ORCHESTRATOR_CONFIG_URL=$1
shift 1
cd tests
2016-03-02 17:49:10 +01:00
mvn verify \
-Pwith-db-drivers \
-Dorchestrator.configUrl=$ORCHESTRATOR_CONFIG_URL \
-Dcategory=Upgrade -B -e -V $*