Add releaseTest option to CI script (elastic/x-pack-elasticsearch#2482)

This option runs a normal check but with `-Dsnapshot=false` (the flag
used to indicate a release build).

Related to https://github.com/elastic/infra/issues/2759 and
https://github.com/elastic/infra/issues/2739 from the ES side.

Original commit: elastic/x-pack-elasticsearch@e674e68905
This commit is contained in:
Aaron Bull Schaefer 2017-09-13 16:01:21 -07:00 committed by GitHub
parent f15666f82e
commit 447f224677
1 changed files with 10 additions and 0 deletions

View File

@ -57,6 +57,16 @@ case $key in
"-Dtests.badapples=true"
)
;;
releaseTest)
GRADLE_CLI_ARGS=(
"--info"
"check"
"-Dtests.network=true"
"-Dtests.badapples=true"
"-Dbuild.snapshot=false"
"-Dtests.jvm.argline=-Dbuild.snapshot=false"
)
;;
jdk9)
GRADLE_CLI_ARGS=(
"-Pxpack.kibana.build=false"