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