Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
# The version of gradle used doesn't work on java 17
def test(codeql, use_java_11, java, environment, check_diagnostics):
check_diagnostics.redact += ["attributes.java_vendor"]
check_diagnostics.replacements = [("11\\.[0-9]+\\.[0-9]+", "11")]
# the JDK build provided by the CI runner image may report any number of version components
# (e.g. `11.0.32` or `11.0.32.1`), so keep only the feature version
check_diagnostics.replacements = [(r'"11(\.[0-9]+)+"', '"11"')]
gradle_override_dir = pathlib.Path(tempfile.mkdtemp())
if runs_on.windows:
(gradle_override_dir / "gradle.bat").write_text("@echo off\nexit /b 2\n")
Expand Down
Loading