Skip to content

Commit f75d361

Browse files
committed
Add Windows (Server) 2025 support
1 parent 72e2f8f commit f75d361

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

jenkins.jq

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,14 @@ def gha_payload:
3434
| if . != "" then
3535
{ windowsVersion: (
3636
# https://learn.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/base-image-lifecycle
37-
# https://github.com/microsoft/hcsshim/blob/e8208853ff0f7f23fa5d2e018deddff2249d35c8/osversion/windowsbuilds.go
37+
# https://github.com/microsoft/hcsshim/blob/d9a4231b9d7a03dffdabb6019318fc43eb6ba996/osversion/windowsbuilds.go
3838
capture("^10[.]0[.](?<build>[0-9]+)([.]|$)")
3939
| {
4040
# since this is specifically for GitHub Actions support, this is limited to the underlying versions they actually support
4141
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
42-
"20348": "2022",
43-
"17763": "2019",
42+
"26100": "2025", # https://oci.dag.dev/?image=mcr.microsoft.com/windows/servercore:ltsc2025
43+
"20348": "2022", # https://oci.dag.dev/?image=mcr.microsoft.com/windows/servercore:ltsc2022
44+
"17763": "2019", # https://oci.dag.dev/?image=mcr.microsoft.com/windows/servercore:ltsc2019
4445
"": "",
4546
}[.build] // "unknown"
4647
) }

0 commit comments

Comments
 (0)