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:
parent
cd5e001ca6
commit
bf68b5a907
11
dev-tools/ci
11
dev-tools/ci
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue