aboutsummaryrefslogtreecommitdiffstats
path: root/cix.sh
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2018-02-07 15:50:40 +0100
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>2018-02-08 10:15:52 +0100
commitd4055f5f79cee7de87d3aa587f03ceab6f79db4c (patch)
treec3837df02864a8abcf1ccd170244b7b2c219a12e /cix.sh
parent9c156aee168e97328c17d728b142e913f38db5da (diff)
downloadsonarqube-d4055f5f79cee7de87d3aa587f03ceab6f79db4c.tar.gz
sonarqube-d4055f5f79cee7de87d3aa587f03ceab6f79db4c.zip
disable perf tests on pull request QA
Diffstat (limited to 'cix.sh')
-rwxr-xr-xcix.sh7
1 files changed, 6 insertions, 1 deletions
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-*)