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 and
from the ES side.
Original commit: elastic/x-pack-elasticsearch@1143f68a5d9580dca17a773ed2e80332e7b5d920
@@ -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"
