mirror of
https://github.com/SonarSource/sonarqube.git
synced 2024-08-18 02:12:09 +02:00
21 lines
536 B
Bash
Executable File
21 lines
536 B
Bash
Executable File
#!/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"
|
|
|
|
set -euo pipefail
|
|
|
|
ORCHESTRATOR_CONFIG_URL=$1
|
|
shift 1
|
|
|
|
cd tests/upgrade
|
|
mvn verify \
|
|
-Pwith-db-drivers \
|
|
-Dorchestrator.configUrl=$ORCHESTRATOR_CONFIG_URL \
|
|
-B -e -V $*
|