Add intake option to CI script

This commit adds an option for running the intake build from the CI
scripts. The intake build differs from check in that it runs compilation
and pre-commit checks before running tests so that common build failures
causes will happen earlier than otherwise.

Relates elastic/x-pack-elasticsearch#2420

Original commit: elastic/x-pack-elasticsearch@b179ce1087
This commit is contained in:
Jason Tedor 2017-09-03 16:43:15 -04:00 committed by GitHub
parent cd5e001ca6
commit bf68b5a907
1 changed files with 11 additions and 0 deletions

View File

@ -25,6 +25,17 @@ set -o pipefail
# default to `check` if no argument has been supplied # default to `check` if no argument has been supplied
key=${1-check} key=${1-check}
case $key in case $key in
intake)
GRADLE_CLI_ARGS=(
"--info"
"compileJava"
"compileTestJava"
"precommit"
"check"
"-Dtests.network=true"
"-Dtests.badaples=true"
)
;;
packagingTest) packagingTest)
GRADLE_CLI_ARGS=( GRADLE_CLI_ARGS=(
"--info" "--info"