[ci] Fix bug with -Dtests.jvm.argline
The special `-Dtests.jvm.argline` params needed for jdk-9 builds do not get passed correctly if enclosed within single quotes. Fix jdk9 target for `dev-tools/ci` script to correctly pass the -Dtests.jvm.argline parameters. Relates: elastic/elasticsearch#4428 Original commit: elastic/x-pack-elasticsearch@6cd329b8da
This commit is contained in:
parent
0f8e6354f6
commit
17c3164979
|
@ -47,7 +47,7 @@ case $key in
|
||||||
"check"
|
"check"
|
||||||
"-Dtests.network=true"
|
"-Dtests.network=true"
|
||||||
"-Dtests.badapples=true"
|
"-Dtests.badapples=true"
|
||||||
'-Dtests.jvm.argline="--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.nio.file=ALL-UNNAMED --add-opens=java.base/java.security.cert=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/javax.net.ssl=ALL-UNNAMED"'
|
-Dtests.jvm.argline="--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.nio.file=ALL-UNNAMED --add-opens=java.base/java.security.cert=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/javax.net.ssl=ALL-UNNAMED"
|
||||||
)
|
)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in New Issue