From e03ed36f55db6a216a36f17c21f604c2c01b44ad Mon Sep 17 00:00:00 2001 From: "M.P. Korstanje" Date: Thu, 13 Nov 2025 19:02:43 +0100 Subject: [PATCH] Add OS version to Meta message Reports build from messages include meta information about the operating system, runtime and cpu architecture. This was missing the OS version. --- .../java/io/cucumber/core/runtime/CucumberExecutionContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cucumber-core/src/main/java/io/cucumber/core/runtime/CucumberExecutionContext.java b/cucumber-core/src/main/java/io/cucumber/core/runtime/CucumberExecutionContext.java index dd413010d7..739e5d5113 100644 --- a/cucumber-core/src/main/java/io/cucumber/core/runtime/CucumberExecutionContext.java +++ b/cucumber-core/src/main/java/io/cucumber/core/runtime/CucumberExecutionContext.java @@ -66,7 +66,7 @@ private Meta createMeta() { ProtocolVersion.getVersion(), new Product("cucumber-jvm", VERSION), new Product(System.getProperty("java.vm.name"), System.getProperty("java.vm.version")), - new Product(System.getProperty("os.name"), null), + new Product(System.getProperty("os.name"), System.getProperty("os.version")), new Product(System.getProperty("os.arch"), null), detectCiEnvironment(System.getenv()).map(ci -> new Ci( ci.getName(),