Extend the Jenkins agent definition by installing Java 8 in a separate directory. Define a Jenkins tool for Java 8 and have the job definition reference that tool. Refer a previous answer for more details and refer to this video by Darin Pope
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Docker plugin: How to create build image still providing JDK8 with Jenkins 2.361.1? | 4 | 2229 | September 24, 2022 | |
| Jenkins - Docker cloud agent VS Docker in Pipeline | 3 | 317 | August 6, 2024 | |
| Can I run the latest Jenkins in a docker but connect to a remote agent running under JDK8? | 4 | 914 | April 5, 2023 | |
| Pod Template and Custom Agent Images | 5 | 894 | July 10, 2024 | |
| Help using docker ephemeral slave agent for android | 8 | 759 | October 12, 2022 |