Skip to content

Commit

Permalink
Fix stack overflow on initializing DatadogTaskListenerDecorator
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-tkachenko-datadog committed Feb 7, 2024
1 parent b84a170 commit 45f96ca
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ private static EnvVars getEnvVars(Run run, TaskListener listener) throws IOExcep

List<EnvActionImpl> envActions = run.getActions(EnvActionImpl.class);
for (EnvActionImpl envAction : envActions) {
EnvVars environment = envAction.getEnvironment();
mergedVars.putAll(environment);
Map<String, String> overriddenEnvironment = envAction.getOverriddenEnvironment();
mergedVars.putAll(overriddenEnvironment);
}

Map<String, String> envVars;
Expand Down

0 comments on commit 45f96ca

Please sign in to comment.