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 $*