diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-07-23 15:18:29 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-07-23 19:56:26 +0200 |
commit | e9782fdb646b47679802e4b7a04dd20daa14ddb1 (patch) | |
tree | f4cf1ff3663c228929bda8e76ccba2c0a8a52469 | |
parent | 455f85c1a7cd15258569a56c4832a52ba98a8e8f (diff) | |
download | sonarqube-e9782fdb646b47679802e4b7a04dd20daa14ddb1.tar.gz sonarqube-e9782fdb646b47679802e4b7a04dd20daa14ddb1.zip |
Do not redirect surefire logs to file
-rw-r--r-- | pom.xml | 2 | ||||
-rw-r--r-- | server/sonar-server-benchmarks/pom.xml | 1 | ||||
-rw-r--r-- | sonar-duplications/pom.xml | 4 | ||||
-rwxr-xr-x | travis.sh | 10 |
4 files changed, 6 insertions, 11 deletions
@@ -538,7 +538,7 @@ <artifactId>maven-surefire-plugin</artifactId> <configuration> <runOrder>random</runOrder> - <redirectTestOutputToFile>true</redirectTestOutputToFile> + <redirectTestOutputToFile>false</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 2a93d45402c..9b81313a698 100644 --- a/server/sonar-server-benchmarks/pom.xml +++ b/server/sonar-server-benchmarks/pom.xml @@ -65,7 +65,6 @@ <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 9e6ec34f5b6..d0acbdd568c 100644 --- a/sonar-duplications/pom.xml +++ b/sonar-duplications/pom.xml @@ -12,10 +12,6 @@ <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 b36add46a73..fc948728ac0 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" -Dmaven.test.redirectTestOutputToFile=false + mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="qualitygate" -e ;; ITS_ISSUE) prepareIts - mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="issue" -Dmaven.test.redirectTestOutputToFile=false + mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="issue" -e ;; ITS_UPDATECENTER) prepareIts - mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="updatecenter" -Dmaven.test.redirectTestOutputToFile=false + mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="updatecenter" -e ;; ITS_TESTING) prepareIts - mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="testing" -Dmaven.test.redirectTestOutputToFile=false + mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="testing" -e ;; ITS_PLUGINS) if [ -n "$GITHUB_TOKEN" ]; then prepareIts - mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="plugins" -Dmaven.test.redirectTestOutputToFile=false + mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="plugins" -e fi ;; |