Set gradle log level to info on CI

Fixes #9240
This commit is contained in:
Andrew Cholakian 2018-03-14 15:43:55 -05:00
parent 041fca924f
commit ee987ef5fc
4 changed files with 5 additions and 6 deletions

View file

@ -5,7 +5,7 @@ set -e
# uses at least 1g of memory, If we don't do this we can get OOM issues when
# installing gems. See https://github.com/elastic/logstash/issues/5179
export JRUBY_OPTS="-J-Xmx1g"
export GRADLE_OPTS="-Xmx2g -Dorg.gradle.daemon=false"
export GRADLE_OPTS="-Xmx2g -Dorg.gradle.daemon=false -Dorg.gradle.logging.level=info"
SELECTED_TEST_SUITE=$1

View file

@ -5,7 +5,7 @@
# uses at least 1g of memory, If we don't do this we can get OOM issues when
# installing gems. See https://github.com/elastic/logstash/issues/5179
export JRUBY_OPTS="-J-Xmx1g"
export GRADLE_OPTS="-Xmx2g -Dorg.gradle.daemon=false"
export GRADLE_OPTS="-Xmx2g -Dorg.gradle.daemon=false -Dorg.gradle.logging.level=info"
export SPEC_OPTS="--order rand --format documentation"
export CI=true
@ -41,5 +41,4 @@ elif [[ ! -z $@ ]]; then
else
echo "Running all integration tests"
./gradlew runIntegrationTests --console=plain
ADLE_OPTS
nnn
fi

View file

@ -40,7 +40,7 @@ echo Using drive !use_drive! for %WORKSPACE%
!use_drive!
echo Running core tests..
call .\gradlew.bat test --console=plain --no-daemon
call .\gradlew.bat test --console=plain --no-daemon --info
if errorlevel 1 (
echo Error: failed to run core tests. Aborting..

View file

@ -5,7 +5,7 @@
# uses at least 1g of memory, If we don't do this we can get OOM issues when
# installing gems. See https://github.com/elastic/logstash/issues/5179
export JRUBY_OPTS="-J-Xmx1g"
export GRADLE_OPTS="-Xmx2g -Dorg.gradle.daemon=false"
export GRADLE_OPTS="-Xmx2g -Dorg.gradle.daemon=false -Dorg.gradle.logging.level=info"
export SPEC_OPTS="--order rand --format documentation"
export CI=true