File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
testing/trino-product-tests-launcher/src/main/java/io/trino/tests/product/launcher/cli Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -328,6 +328,11 @@ private Environment getEnvironment()
328328 .setLogsBaseDir (logsDirBase )
329329 .setIpv6 (ipv6 );
330330
331+ if (isEnvSet ("CONTINUOUS_INTEGRATION" )) {
332+ builder .configureContainers (container ->
333+ container .withEnv ("CONTINUOUS_INTEGRATION" , "true" ));
334+ }
335+
331336 builder .configureContainer (TESTS , this ::mountReportsDir );
332337 builder .configureContainer (TESTS , container -> {
333338 List <String > temptoJavaOptions = Splitter .on (" " ).omitEmptyStrings ().splitToList (
@@ -339,10 +344,6 @@ private Environment getEnvironment()
339344 unsafelyExposePort (container , 5007 ); // debug port
340345 }
341346
342- if (isEnvSet ("CONTINUOUS_INTEGRATION" )) {
343- container .withEnv ("CONTINUOUS_INTEGRATION" , "true" );
344- }
345-
346347 // Install Java distribution if necessary
347348 jdkProvider .applyTo (container )
348349 // the test jar is hundreds MB and file system bind is much more efficient
You can’t perform that action at this time.
0 commit comments