jenkinsci / datadog-plugin

A Jenkins plugin used to forward metrics, events, and service checks to an account at Datadog, automatically.
https://plugins.jenkins.io/datadog/
MIT License
34 stars 48 forks source link

Error Loading Configuration: 'retryLogs' is deprecated #467

Open nikita-tkachenko-datadog opened 2 hours ago

nikita-tkachenko-datadog commented 2 hours ago

Describe the bug

After updating the plugin to v8.0.0 or newer, the following error can be seen:

Error Loading Configuration
'retryLogs' is deprecated

To Reproduce

  1. Have Configuration As Code plugin installed
  2. Use CasC to configure Datadog plugin
  3. Have retryLogs entry in the Datadog plugin config section
  4. Update the plugin to v8.0.0 or newer and restart Jenkins
nikita-tkachenko-datadog commented 2 hours ago

To fix the problem, remove the retryLogs entry from your CasC config. Alternatively, add the following to your CasC config:

configuration-as-code:
  deprecated: warn