You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/DefaultForkConfiguration.java
+3
Original file line number
Diff line number
Diff line change
@@ -157,6 +157,9 @@ public Commandline createCommandLine(
157
157
158
158
for (Entry<String, String> entry : getEnvironmentVariables().entrySet()) {
159
159
Stringvalue = entry.getValue();
160
+
if (value != null) {
161
+
value = replaceThreadNumberPlaceholders(value, forkNumber);
162
+
}
160
163
cli.addEnvironment(entry.getKey(), value == null ? "" : value);
Copy file name to clipboardExpand all lines: maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/booterclient/ForkConfigurationTest.java
0 commit comments