From: Sébastien Lesaint Date: Wed, 7 Feb 2018 14:50:40 +0000 (+0100) Subject: disable perf tests on pull request QA X-Git-Tag: 7.5~1711 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d4055f5f79cee7de87d3aa587f03ceab6f79db4c;p=sonarqube.git disable perf tests on pull request QA --- diff --git a/cix.sh b/cix.sh index 942625d8a90..2d2b0b50f71 100755 --- a/cix.sh +++ b/cix.sh @@ -74,7 +74,12 @@ case "$RUN_ACTIVITY" in ;; run-perf-tests) - ./run-perf-tests.sh + if [[ "$GITHUB_BRANCH" == "PULLREQUEST-"* ]]; then + # do not execute Perf tests on feature branch outside pull request + exit 0 + else + ./run-perf-tests.sh + fi ;; run-upgrade-tests-*)