From 7528aefbb6e69d231e7f6ab55e9e0d9a8a2de207 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Fri, 22 Jul 2016 17:03:43 +0200 Subject: [PATCH] Do not deploy sources on feature branches --- travis.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5