Description
Description
All in the title windows-2022 version: 20250602.1.0 seems to not have maven installed
note:
Version: 20250617.1.0 seems to have maven 3.9.10 correctly installed
trace: https://github.com/Mizux/java-native/actions/runs/15822717008/job/44595458502#step:4:13
question: is it possible to force/define the runner image version targeted ? i.e. if "rebuild failed-job" would be interesting to use the latest available runner image version....
Platforms affected
- Azure DevOps
- GitHub Actions - Standard Runners
- GitHub Actions - Larger Runners
Runner images affected
- Ubuntu 22.04
- Ubuntu 24.04
- macOS 13
- macOS 13 Arm64
- macOS 14
- macOS 14 Arm64
- macOS 15
- macOS 15 Arm64
- Windows Server 2019
- Windows Server 2022
- Windows Server 2025
Image version and build link
Version: 20250602.1.0
https://github.com/google/or-tools/actions/runs/15819488082/job/44595692998#step:1:15
Is it regression?
yes
Expected behavior
Maven 3.9.9 found
ref: https://github.com/actions/runner-images/blob/win22/20250602.1/images/windows/Windows2022-Readme.md#project-management
Actual behavior
mvn --version
...
mvn: D:\a\_temp\d46c37da-f294-4151-b4a2-6e7d884517d3.ps1:3
Line |
3 | mvn --version
| ~~~
| The term 'mvn' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the
| spelling of the name, or if a path was included, verify that the path is correct and try again.
trace:
https://github.com/google/or-tools/actions/runs/15819488082/job/44595692998
Repro steps
run amd64 Windows CMake Java
jobs in google/or-tools (branch main or v99bugfix or stable)