diff --git a/src/main/java/org/datadog/jenkins/plugins/datadog/DatadogGlobalConfiguration.java b/src/main/java/org/datadog/jenkins/plugins/datadog/DatadogGlobalConfiguration.java index ac6706e1..9914bc33 100644 --- a/src/main/java/org/datadog/jenkins/plugins/datadog/DatadogGlobalConfiguration.java +++ b/src/main/java/org/datadog/jenkins/plugins/datadog/DatadogGlobalConfiguration.java @@ -185,7 +185,7 @@ public DatadogGlobalConfiguration() { loadEnvVariables(); // Load environment variables after as they should take precedence. } - @Initializer(after = InitMilestone.PLUGINS_STARTED) + @Initializer(after = InitMilestone.SYSTEM_CONFIG_LOADED) public void onStartup() { try { ClientHolder.setClient(createClient());