From bf68b5a907349c91dce274edd54ace5c31439010 Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Sun, 3 Sep 2017 16:43:15 -0400 Subject: [PATCH] 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@b179ce1087f9146768de78039876cd3476401d26 --- dev-tools/ci | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dev-tools/ci b/dev-tools/ci index c305fd611e9..606d36d9d45 100755 --- a/dev-tools/ci +++ b/dev-tools/ci @@ -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"