To run the tests using a Java 11 virtual machine:
-
On the host, launch the container with Java11 VM:
harry@devbox:~/acceptance-test-harness$ env java_version=11 ./ath-container.sh
-
In the container shell, act as usual, set up the vnc:
ath-user@1803848e337f:~/ath-sources$ eval $(vnc.sh)
-
And run the tests with Java11 support:
ath-user@1803848e337f:~/ath-sources$ run.sh ...
Note: It was possible to run Jenkins on Java 11 since the version 2.155
, but its usage was then more complex.
We do not recommend to use any version prior to 2.164
.
To have up-to-date information see jenkins-on-java-11.