aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-07-23 20:05:31 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-07-23 20:05:31 +0200
commit346073fd910bd820e95c497c1b8c6f54779742f3 (patch)
tree1cc72807edcb4fa625de16533e6089664dcf8cde
parente9782fdb646b47679802e4b7a04dd20daa14ddb1 (diff)
downloadsonarqube-346073fd910bd820e95c497c1b8c6f54779742f3.tar.gz
sonarqube-346073fd910bd820e95c497c1b8c6f54779742f3.zip
Revert "Do not redirect surefire logs to file"
Too many logs are generated for travis, which accepts max 4Mb This reverts commit e9782fdb646b47679802e4b7a04dd20daa14ddb1.
-rw-r--r--pom.xml2
-rw-r--r--server/sonar-server-benchmarks/pom.xml1
-rw-r--r--sonar-duplications/pom.xml4
-rwxr-xr-xtravis.sh10
4 files changed, 11 insertions, 6 deletions
diff --git a/pom.xml b/pom.xml
index 1bccaeb122e..120f6405e1e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -538,7 +538,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<runOrder>random</runOrder>
- <redirectTestOutputToFile>false</redirectTestOutputToFile>
+ <redirectTestOutputToFile>true</redirectTestOutputToFile>
<systemPropertyVariables>
<java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
<!--
diff --git a/server/sonar-server-benchmarks/pom.xml b/server/sonar-server-benchmarks/pom.xml
index 9b81313a698..2a93d45402c 100644
--- a/server/sonar-server-benchmarks/pom.xml
+++ b/server/sonar-server-benchmarks/pom.xml
@@ -65,6 +65,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
+ <redirectTestOutputToFile>false</redirectTestOutputToFile>
<skipTests>${skipBenchmarks}</skipTests>
<argLine>
-Xmx1G -Xms256m -server -Djava.awt.headless=true
diff --git a/sonar-duplications/pom.xml b/sonar-duplications/pom.xml
index d0acbdd568c..9e6ec34f5b6 100644
--- a/sonar-duplications/pom.xml
+++ b/sonar-duplications/pom.xml
@@ -12,6 +12,10 @@
<name>SonarQube :: Duplications</name>
<description>Detect duplicated code</description>
+ <properties>
+ <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.codehaus.sonar</groupId>
diff --git a/travis.sh b/travis.sh
index fc948728ac0..b36add46a73 100755
--- a/travis.sh
+++ b/travis.sh
@@ -64,28 +64,28 @@ PRANALYSIS)
ITS_QUALITYGATE)
prepareIts
- mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="qualitygate" -e
+ mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="qualitygate" -Dmaven.test.redirectTestOutputToFile=false
;;
ITS_ISSUE)
prepareIts
- mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="issue" -e
+ mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="issue" -Dmaven.test.redirectTestOutputToFile=false
;;
ITS_UPDATECENTER)
prepareIts
- mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="updatecenter" -e
+ mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="updatecenter" -Dmaven.test.redirectTestOutputToFile=false
;;
ITS_TESTING)
prepareIts
- mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="testing" -e
+ mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="testing" -Dmaven.test.redirectTestOutputToFile=false
;;
ITS_PLUGINS)
if [ -n "$GITHUB_TOKEN" ]; then
prepareIts
- mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="plugins" -e
+ mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="plugins" -Dmaven.test.redirectTestOutputToFile=false
fi
;;