Add pipeline to auto update jdk versions#850
Merged
Merged
Conversation
ahmedmuhsin
requested review from
TsuyoshiUshio,
gavin-aguiar,
hallvictoria,
swapnil-nagar and
vrdmr
as code owners
January 6, 2026 18:38
| jobs: | ||
| - job: ValidateLinuxJDKs | ||
| displayName: 'Detect and Validate Linux JDKs' | ||
| timeoutInMinutes: 60 |
There was a problem hiding this comment.
DO you need timeout for pipeline, are you expecting to be syuck?
Contributor
Author
There was a problem hiding this comment.
Nothing specific to point out, this is just a failsafe to make sure that we don't run the job for 4 hours (the default timeout) in case it hangs anywhere.
| @@ -0,0 +1,270 @@ | |||
| schedules: | |||
| - cron: "0 8 * * MON" # Weekly on Monday at 8 AM UTC | |||
| displayName: Weekly Java Version Check | |||
There was a problem hiding this comment.
Sometime JDK versions has the breaking changes, are you ensuring and running the unit tests and integration tests?.
Contributor
Author
There was a problem hiding this comment.
Yes, all tests are run as a part of the PR that gets generated. See this example: #849
swapnil-nagar
approved these changes
Jan 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new automated pipeline for checking and updating Java JDK versions used by the project. It adds a scheduled Azure Pipeline configuration and a Python script to detect, validate, and update Java versions for both Linux and Windows environments. The pipeline runs weekly, validates the latest JDK releases, updates the relevant YAML file, and automatically creates a pull request with changes.
CI Pipeline Automation:
eng/ci/java-version-check.ymlAzure Pipeline to run weekly on thedevbranch, detecting new Java JDK versions for both Linux and Windows, validating installations, and publishing artifacts. The pipeline triggers only on schedule or manually, not on PRs.eng/ci/templates/java-versions.ymland creation of a pull request if changes are found, including logic to avoid duplicate PRs and provide review guidance.Java Version Detection and Validation:
eng/scripts/check-java-versions.py, a Python script that:java -version, and updates the YAML file if newer versions are found.Pipeline Integration and Artifact Handling: