aboutsummaryrefslogtreecommitdiffstats
path: root/run_integration_tests.sh
blob: 69ddbf25dce4e6e27eda07235122f6eb64ef0247 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
# Run integration tests with a given version of SonarQube
# Usage: run_integration_tests.sh "5.2"

set -euo pipefail

# required version of SonarQube
SONARQUBE_VERSION=$1
shift

cd it
mvn verify -Dsonar.runtimeVersion=$SONARQUBE_VERSION -e -B -V -U $*