Allow Liferay Cloud CI (Jenkins) to be able to build with different JDKs

thumbnail
Asier Del Pozo, 10 Maanden geleden aangepast. Junior Member Berichten: 79 Aanmelddatum: 12-11-07 Recente berichten

There is a limitation with liferaycloud/jenkins:2.492.3-lts-jdk21-6.0.3 that keeps the CI from working with different JDKs (i.e. a branch or repository with Java 8 and another with Java 21 when upgrading from one version of Liferay to another).

This is related to the breaking changes introduced with https://help.liferay.com/hc/en-us/articles/33476891762317-1-14-2025-Service-Release-Updates. 

The only alternative to this right now is to update LCP_CI_GRADLE_JDK every time a build needs to be done with one or another JDK, which makes CI not continuous.