aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2016-07-22 17:03:43 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2016-07-24 18:35:26 +0200
commit7528aefbb6e69d231e7f6ab55e9e0d9a8a2de207 (patch)
treeec1f288021adb428e8873cf0165d18c67e2c2a91
parentd6f3a7089e255bca1a286b980ff49b9a7d72c96b (diff)
downloadsonarqube-7528aefbb6e69d231e7f6ab55e9e0d9a8a2de207.tar.gz
sonarqube-7528aefbb6e69d231e7f6ab55e9e0d9a8a2de207.zip
Do not deploy sources on feature branches
-rwxr-xr-xtravis.sh4
1 files changed, 3 insertions, 1 deletions
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