Skip to content

Align Fedora packaging Java version and CI artifact handling with Jenkins support policy #732

@beri04

Description

@beri04

Problem

While working on Fedora packaging and CI validation, I noticed two related issues:

  1. 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.
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions