@@ -66,7 +66,7 @@ public ModuleExecutionSettings create(JvmInfo jvmInfo, @Nullable String moduleNa
66
66
boolean earlyFlakeDetectionEnabled = isEarlyFlakeDetectionEnabled (ciVisibilitySettings );
67
67
Map <String , String > systemProperties =
68
68
getPropertiesPropagatedToChildProcess (
69
- codeCoverageEnabled , itrEnabled , flakyTestRetriesEnabled );
69
+ codeCoverageEnabled , itrEnabled , flakyTestRetriesEnabled , earlyFlakeDetectionEnabled );
70
70
71
71
LOGGER .info (
72
72
"CI Visibility settings ({}, {}):\n "
@@ -196,7 +196,10 @@ private boolean isEarlyFlakeDetectionEnabled(CiVisibilitySettings ciVisibilitySe
196
196
}
197
197
198
198
private Map <String , String > getPropertiesPropagatedToChildProcess (
199
- boolean codeCoverageEnabled , boolean itrEnabled , boolean flakyTestRetriesEnabled ) {
199
+ boolean codeCoverageEnabled ,
200
+ boolean itrEnabled ,
201
+ boolean flakyTestRetriesEnabled ,
202
+ boolean earlyFlakeDetectionEnabled ) {
200
203
Map <String , String > propagatedSystemProperties = new HashMap <>();
201
204
Properties systemProperties = System .getProperties ();
202
205
for (Map .Entry <Object , Object > e : systemProperties .entrySet ()) {
@@ -223,6 +226,11 @@ private Map<String, String> getPropertiesPropagatedToChildProcess(
223
226
CiVisibilityConfig .CIVISIBILITY_FLAKY_RETRY_ENABLED ),
224
227
Boolean .toString (flakyTestRetriesEnabled ));
225
228
229
+ propagatedSystemProperties .put (
230
+ Strings .propertyNameToSystemPropertyName (
231
+ CiVisibilityConfig .CIVISIBILITY_EARLY_FLAKE_DETECTION_ENABLED ),
232
+ Boolean .toString (earlyFlakeDetectionEnabled ));
233
+
226
234
// explicitly disable build instrumentation in child processes,
227
235
// because some projects run "embedded" Maven/Gradle builds as part of their integration tests,
228
236
// and we don't want to show those as if they were regular build executions
0 commit comments