From b11a6e05bf4066ec5b4d79ac834e592a47db099b Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Tue, 12 Sep 2017 10:03:55 +0200 Subject: [PATCH] Disable incremental analysis from Travis We have to find a better and deterministic way to enable the incremental mode. Relying on last character of git sha does not allow to make Quality Gate quickly back to green (because of lack of coverage computation) --- travis.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/travis.sh b/travis.sh index a1031c38f72..770d50a65bb 100755 --- a/travis.sh +++ b/travis.sh @@ -142,14 +142,7 @@ BUILD) $MAVEN_ARGS \ -Pdeploy-sonarsource,release - INCREMENTAL=true - # Triggers a full analysis for every build number ending with 0, 1 or 2 - if [[ "$TRAVIS_BUILD_NUMBER" =~ [012]$ ]]; then - INCREMENTAL=false - fi - mvn sonar:sonar \ - -Dsonar.incremental=$INCREMENTAL \ -Dsonar.host.url=$SONAR_HOST_URL \ -Dsonar.login=$SONAR_TOKEN \ -Dsonar.projectVersion=$INITIAL_VERSION -- 2.39.5