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
MarkEWaite
(Mark Waite)
4
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Docker plugin: How to create build image still providing JDK8 with Jenkins 2.361.1? | 4 | 2247 | September 24, 2022 | |
| Jenkins - Docker cloud agent VS Docker in Pipeline | 2 | 370 | April 24, 2026 | |
| Can I run the latest Jenkins in a docker but connect to a remote agent running under JDK8? | 4 | 938 | April 5, 2023 | |
| Pod Template and Custom Agent Images | 5 | 950 | July 10, 2024 | |
| Unable to run containerized agents using Docker Cloud provider plugin | 3 | 89 | April 24, 2026 |