Skip to content

Allow 603.x release to compile with Java 17 - #307

Merged
viceice merged 4 commits into
jenkinsci:mainfrom
MarkEWaite:stable-601
Jan 23, 2026
Merged

Allow 603.x release to compile with Java 17#307
viceice merged 4 commits into
jenkinsci:mainfrom
MarkEWaite:stable-601

Conversation

@MarkEWaite

@MarkEWaite MarkEWaite commented Jan 23, 2026

Copy link
Copy Markdown
Contributor

Allow 603.x release to compile with Java 17

The Jenkins plugin BOM verifies that popular plugins pass their tests when combined together. It also tests Java 17 with the LTS lines and Java 21 with the weekly line.

Gitea Checks plugin 601.607.vcea_0049b_27e5 does not compile with Java 17. It requires Java 21 or newer. We need a new release based on 601.x but with the two most recent parent pom changes reverted.

This pull request was merged to allow Java 17 with 603.x, but does not release a new 601.x version. However, a new 603.x version is being prepared that will include this change and can be used with the plugin BOM 516.x line.

More details are available in plugin BOM pull request:

Testing done

  • Confirmed that before this change, the plugin fails to compile with Java 17
  • Confirmed that after this change, the plugin compiles with Java 17

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

@MarkEWaite
MarkEWaite requested a review from a team as a code owner January 23, 2026 02:41
@MarkEWaite
MarkEWaite marked this pull request as draft January 23, 2026 02:43
MarkEWaite added a commit to shalinisudarsan/bom that referenced this pull request Jan 23, 2026
@viceice
viceice changed the base branch from jenkins-baseline to main January 23, 2026 07:56
@viceice viceice added dependencies A PR that updates dependencies - used by Release Drafter bugfix A PR that fixes a bug - used by Release Drafter labels Jan 23, 2026
@viceice
viceice marked this pull request as ready for review January 23, 2026 08:02
@viceice
viceice enabled auto-merge (squash) January 23, 2026 08:02
@viceice
viceice disabled auto-merge January 23, 2026 08:29
@viceice
viceice merged commit ba78fa5 into jenkinsci:main Jan 23, 2026
17 checks passed
@MarkEWaite
MarkEWaite deleted the stable-601 branch January 23, 2026 11:15
@MarkEWaite MarkEWaite changed the title Allow 601.x release to compile with Java 17 Allow 603.x release to compile with Java 17 Jan 23, 2026
MarkEWaite added a commit to jenkinsci/bom that referenced this pull request Jan 24, 2026
* Add 2.541.x line and remove 2.504.x

Added 2.541.x line and removed 2.504.x

* Test gitea-checks 601.609.v7b_5ee1a_655f2 incremental

Built from pull request:

* jenkinsci/gitea-checks-plugin#307

* Update final release of 2.504.x line

* Use instant-messaging incremental 2.884.veda_553935c84

From pull request:

* jenkinsci/instant-messaging-plugin#308

* Use workflow-job incremental 1572.v4a_176c455367

Pull request:

* jenkinsci/workflow-job-plugin#741

* Document the final release for 2.504.x line

* Fix a merge mistake

---------

Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix A PR that fixes a bug - used by Release Drafter dependencies A PR that updates dependencies - used by Release Drafter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants