From: Simon Brandhof Date: Fri, 22 Jul 2016 15:03:43 +0000 (+0200) Subject: Do not deploy sources on feature branches X-Git-Tag: 6.1-RC1~525 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7528aefbb6e69d231e7f6ab55e9e0d9a8a2de207;p=sonarqube.git Do not deploy sources on feature branches --- diff --git a/travis.sh b/travis.sh index 64e2905b17d..b9b5438c9e3 100755 --- a/travis.sh +++ b/travis.sh @@ -50,6 +50,7 @@ CI) echo 'Internal pull request: trigger QA and analysis' mvn org.jacoco:jacoco-maven-plugin:prepare-agent deploy sonar:sonar \ + -Dsource.skip=true \ -Pdeploy-sonarsource \ -Dmaven.test.redirectTestOutputToFile=false \ -Dsonar.analysis.mode=issues \ @@ -61,9 +62,10 @@ CI) -B -e -V else - echo 'Feature branch or external pull request: no QA, no analysis' + echo 'Feature branch or external pull request: no QA, no analysis. Skip sources' mvn install \ + -Dsource.skip=true \ -Dmaven.test.redirectTestOutputToFile=false \ -B -e -V fi