You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

run-integration-tests.sh 778B

1234567891011121314151617181920212223
  1. #!/usr/bin/env bash
  2. # Run integration tests. SonarQube must be already built in order to
  3. # make the ZIP file available for tests.
  4. # Arguments:
  5. # 1. the category of tests. Possible values: "Category1", "Category2" ,"Category3", "Category4", "Category5" and "Plugins"
  6. # 2. the path to Orchestrator properties file. If empty, then default values are used. Example: "file:///Users/me/orchestrator.properties"
  7. #
  8. # Examples:
  9. # ./run-integration-tests.sh "Category1" "file:///Users/me/orchestrator-mysql56.properties"
  10. # ./run-integration-tests.sh "Category1" ""
  11. set -euo pipefail
  12. CATEGORY=$1
  13. ORCHESTRATOR_CONFIG_URL=$2
  14. shift 2
  15. ./gradlew --no-daemon --console plain \
  16. :tests:integrationTest \
  17. -Dcategory="$CATEGORY" \
  18. -Dorchestrator.configUrl=$ORCHESTRATOR_CONFIG_URL \
  19. $*