]> source.dussan.org Git - sonarqube.git/commitdiff
disable perf tests on pull request QA 3029/head
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Wed, 7 Feb 2018 14:50:40 +0000 (15:50 +0100)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Thu, 8 Feb 2018 09:15:52 +0000 (10:15 +0100)
cix.sh

diff --git a/cix.sh b/cix.sh
index 942625d8a90e5d544af4c7966f9d532d9a98b948..2d2b0b50f71a9f4b17528fa99f8520e6474264b5 100755 (executable)
--- 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-*)