Problem
While working on Fedora packaging and CI validation, I noticed two related issues:
- The Fedora 42+ packaging installs Temurin Java 21, but Jenkins currently supports Java 17 as the required LTS runtime. This can lead to packaging installing an unsupported Java version for Jenkins.
- The current CI pipeline uses a hard-coded filesystem path (
/var/tmp) for handling build artifacts, which is outside the Jenkins workspace and does not follow standard Jenkins CI conventions.
Expected behavior
- Fedora packaging should install a Java version that aligns with Jenkins' supported runtimes (Java 17).
- CI build artifacts should remain within the Jenkins workspace (e.g.
target/) and avoid hard-coded global filesystem paths.
Proposed direction
- Update Fedora packaging logic to install Temurin 17 until Jenkins officially supports Java 21.
- Adjust the Jenkinsfile to keep build artifacts within the workspace.
I wanted to open this issue first to confirm the approach with maintainers before continuing work on the PR.