Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

breaking(Windows): set Java 17 as default #1773

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

lemeurherve
Copy link
Member

@lemeurherve lemeurherve commented Nov 6, 2023

This PR:

Testing done

Locally:

pwsh make.ps1 publish -DryRun
= PREPARE: List of jenkins4eval/jenkins images and tags to be processed:
{
  "jdk17-hotspot-windowsservercore-2019": {
    "Folder": "17/windows/windowsservercore-2019/hotspot",
    "Tags": [
      "jdk17-hotspot-windowsservercore-2019",
      "windowsservercore-2019"
    ]
  }
}
Building jdk17-hotspot-windowsservercore-2019 => tag=jdk17-hotspot-windowsservercore-2019
(dry-run) docker build -t jenkins4eval/jenkins:jdk17-hotspot-windowsservercore-2019 17/windows/windowsservercore-2019/hotspot
Building jdk17-hotspot-windowsservercore-2019 => tag=windowsservercore-2019
(dry-run) docker build -t jenkins4eval/jenkins:windowsservercore-2019 17/windows/windowsservercore-2019/hotspot
Publishing jdk17-hotspot-windowsservercore-2019 => tag=jdk17-hotspot-windowsservercore-2019
(dry-run) docker push jenkins4eval/jenkins:jdk17-hotspot-windowsservercore-2019
Publishing jdk17-hotspot-windowsservercore-2019 => tag=windowsservercore-2019
(dry-run) docker push jenkins4eval/jenkins:windowsservercore-2019
Build finished successfully

CI: https://ci.jenkins.io/job/Packaging/job/docker/job/PR-1773/1/execution/node/991/log/

Submitter checklist

@lemeurherve lemeurherve linked an issue Nov 6, 2023 that may be closed by this pull request
@lemeurherve lemeurherve marked this pull request as ready for review November 6, 2023 20:59
@lemeurherve lemeurherve requested a review from a team as a code owner November 6, 2023 20:59
@lemeurherve lemeurherve changed the title fix(Windows): set JDK17 as default JDK breaking(Windows): set Java 17 as default Nov 6, 2023
@lemeurherve lemeurherve added breaking Breaking change and removed bug labels Nov 6, 2023
@lemeurherve lemeurherve merged commit f004292 into jenkinsci:master Nov 6, 2023
20 checks passed
@lemeurherve lemeurherve deleted the issue1772-windows-jdk17 branch November 6, 2023 22:27
ti-chi-bot bot referenced this pull request in PingCAP-QE/ee-ops Dec 17, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [jenkins/jenkins](https://www.jenkins.io/)
([source](https://togithub.com/jenkinsci/docker)) | minor |
`2.414.3-lts` -> `2.426.2-lts` |

---

### Release Notes

<details>
<summary>jenkinsci/docker (jenkins/jenkins)</summary>

###
[`v2.426.2`](https://togithub.com/jenkinsci/docker/releases/tag/2.426.2)

[Compare
Source](https://togithub.com/jenkinsci/docker/compare/2.426.1...2.426.2)

<!-- Optional: add a release summary here -->

#### 📦 Jenkins Core updates

- Update to Jenkins 2.426.2
([changelog](https://jenkins.io/changelog-stable/#v2.426.2))

#### 🚀 New features and improvements

- Bump Alpine Linux Version to 3.19.0
([#&#8203;1795](https://togithub.com/jenkinsci/docker/issues/1795))
[@&#8203;github-actions](https://togithub.com/github-actions)

#### 👻 Maintenance

- chore: replace `curl.exe` by `Invoke-WebRequest`
([#&#8203;1796](https://togithub.com/jenkinsci/docker/issues/1796))
[@&#8203;lemeurherve](https://togithub.com/lemeurherve)

#### 📦 Dependency updates

- chore(deps): bump plugin manager to 2.12.14
([#&#8203;1794](https://togithub.com/jenkinsci/docker/issues/1794))
[@&#8203;jenkins-dependency-updater](https://togithub.com/jenkins-dependency-updater)
- chore(deps): bump updatecli/updatecli-action from 2.49.1 to 2.50.0
([#&#8203;1793](https://togithub.com/jenkinsci/docker/issues/1793))
[@&#8203;dependabot](https://togithub.com/dependabot)
- chore(deps): bump almalinux from 8.8 to 8.9 in
/11/almalinux/almalinux8/hotspot
([#&#8203;1791](https://togithub.com/jenkinsci/docker/issues/1791))
[@&#8203;dependabot](https://togithub.com/dependabot)
- Bump Debian Bookworm Linux Version to
[`2023112`](https://togithub.com/jenkinsci/docker/commit/20231120)
([#&#8203;1790](https://togithub.com/jenkinsci/docker/issues/1790))
[@&#8203;github-actions](https://togithub.com/github-actions)

#### 🐛 Bug fixes

- fix(Windows): add `lts-` prefix to LTS short tags not including
Jenkins version
([#&#8203;1784](https://togithub.com/jenkinsci/docker/issues/1784))
[@&#8203;lemeurherve](https://togithub.com/lemeurherve)

#### 📝 Documentation updates

- Add `JENKINS_PLUGIN_INFO` to the "Setting update centers" README
section
([#&#8203;1785](https://togithub.com/jenkinsci/docker/issues/1785))
[@&#8203;lemeurherve](https://togithub.com/lemeurherve)

**Full Changelog**:
jenkinsci/docker@2.426.1...2.426.2

###
[`v2.426.1`](https://togithub.com/jenkinsci/docker/releases/tag/2.426.1)

[Compare
Source](https://togithub.com/jenkinsci/docker/compare/2.414.3...2.426.1)

#### 📦 Jenkins Core updates

- Update to Jenkins 2.426.1
([changelog](https://www.jenkins.io/changelog-stable/#v2.426.1) and
[upgrade
guide](https://www.jenkins.io/doc/upgrade-guide/2.426/#upgrading-to-jenkins-lts-2-426-1)
)

#### 💥 Breaking changes

- Remove CentOS 7 container images by
[@&#8203;MarkEWaite](https://togithub.com/MarkEWaite) in
[https://github.com/jenkinsci/docker/pull/1777](https://togithub.com/jenkinsci/docker/pull/1777)
- breaking(Windows): set Java 17 as default by
[@&#8203;lemeurherve](https://togithub.com/lemeurherve) in
[https://github.com/jenkinsci/docker/pull/1773](https://togithub.com/jenkinsci/docker/pull/1773)

#### 🚀 New features and improvements

- feat(Windows): refactor build process by
[@&#8203;lemeurherve](https://togithub.com/lemeurherve) in
[https://github.com/jenkinsci/docker/pull/1770](https://togithub.com/jenkinsci/docker/pull/1770)
- Switch from a `windowsservercore-1809` Temurin base image to a
`windowsservercore-ltsc2019` Microsoft base image
([#&#8203;1775](https://togithub.com/jenkinsci/docker/issues/1775))
- A proper set of tags is now published, and they include "ltsc2019"
instead of only "2019"
([#&#8203;1489](https://togithub.com/jenkinsci/docker/issues/1489))
- A JDK11 image is published again alongside the JDK17 one
([#&#8203;1774](https://togithub.com/jenkinsci/docker/issues/1774))
- As Java 17 is the default JDK, short tags without "jdk" in them are
using Java 17
([#&#8203;1724](https://togithub.com/jenkinsci/docker/issues/1724))
- Switch to GA eclipse-temurin:jdk21 images by
[@&#8203;lemeurherve](https://togithub.com/lemeurherve) in
[https://github.com/jenkinsci/docker/pull/1738](https://togithub.com/jenkinsci/docker/pull/1738)

#### 🐛 Bug fixes

- fix: add additional tags for default Java images by
[@&#8203;lemeurherve](https://togithub.com/lemeurherve) in
[https://github.com/jenkinsci/docker/pull/1756](https://togithub.com/jenkinsci/docker/pull/1756)
- fixup: shortest jdk17 tags only for weekly releases by
[@&#8203;lemeurherve](https://togithub.com/lemeurherve) in
[https://github.com/jenkinsci/docker/pull/1757](https://togithub.com/jenkinsci/docker/pull/1757)

#### 📦 Dependency updates

- Bump Debian Bookworm Linux Version to
[`2023103`](https://togithub.com/jenkinsci/docker/commit/20231030) by
[@&#8203;github-actions](https://togithub.com/github-actions) in
[https://github.com/jenkinsci/docker/pull/1765](https://togithub.com/jenkinsci/docker/pull/1765)
- Use JDK 21.0.1+12, not 21+35 by
[@&#8203;MarkEWaite](https://togithub.com/MarkEWaite) in
[https://github.com/jenkinsci/docker/pull/1779](https://togithub.com/jenkinsci/docker/pull/1779)
- Bump JDK21 preview version (EA) to 21.0.1+12 by
[@&#8203;github-actions](https://togithub.com/github-actions) in
[https://github.com/jenkinsci/docker/pull/1743](https://togithub.com/jenkinsci/docker/pull/1743)
- Use Java 17.0.9\_9 by
[@&#8203;MarkEWaite](https://togithub.com/MarkEWaite) in
[https://github.com/jenkinsci/docker/pull/1778](https://togithub.com/jenkinsci/docker/pull/1778)
- Bump JDK11 version to 11.0.21\_9 by
[@&#8203;github-actions](https://togithub.com/github-actions) in
[https://github.com/jenkinsci/docker/pull/1762](https://togithub.com/jenkinsci/docker/pull/1762)
& [@&#8203;lemeurherve](https://togithub.com/lemeurherve) in
[https://github.com/jenkinsci/docker/pull/1782](https://togithub.com/jenkinsci/docker/pull/1782)
- chore(deps): bump ubi9/ubi to 9.3-1361 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/jenkinsci/docker/pull/1776](https://togithub.com/jenkinsci/docker/pull/1776)
- chore(deps): bump ubi8/ubi to 8.8-1067.1698056881 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/jenkinsci/docker/pull/1760](https://togithub.com/jenkinsci/docker/pull/1760)

**Full Changelog**:
jenkinsci/docker@2.414.3...2.426.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/PingCAP-QE/ee-ops).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set JDK17 as the default JDK for Windows image
2 participants