Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Loading Configuration: 'retryLogs' is deprecated #467

Open
nikita-tkachenko-datadog opened this issue Nov 6, 2024 · 4 comments
Open
Assignees
Labels
kind/bug Bug related issue

Comments

@nikita-tkachenko-datadog
Copy link
Collaborator

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 nikita-tkachenko-datadog added the kind/bug Bug related issue label Nov 6, 2024
@nikita-tkachenko-datadog
Copy link
Collaborator Author

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

@dduportal
Copy link
Contributor

Thanks @nikita-tkachenko-datadog , is it acceptable if I send a PR to update the 8.0.0 changelog pointing to this issue and with the fix, so Jenkins admins. could have the information discoverable at the changelog level?

dduportal added a commit to dduportal/jenkins-infra that referenced this issue Nov 14, 2024
…cated `retryLogs` directive

Part of jenkins-infra/helpdesk#4377 (comment)

Ref. jenkinsci/datadog-plugin#467 (comment)

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
dduportal added a commit to jenkins-infra/jenkins-infra that referenced this issue Nov 14, 2024
…cated `retryLogs` directive (#3719)

Part of jenkins-infra/helpdesk#4377 (comment)

Ref. jenkinsci/datadog-plugin#467 (comment)

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
@nikita-tkachenko-datadog
Copy link
Collaborator Author

Thanks @nikita-tkachenko-datadog , is it acceptable if I send a PR to update the 8.0.0 changelog pointing to this issue and with the fix, so Jenkins admins. could have the information discoverable at the changelog level?

Absolutely, please do!

@dduportal
Copy link
Contributor

Thanks @nikita-tkachenko-datadog , is it acceptable if I send a PR to update the 8.0.0 changelog pointing to this issue and with the fix, so Jenkins admins. could have the information discoverable at the changelog level?

Absolutely, please do!

Here you are: #470

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Bug related issue
Projects
None yet
Development

No branches or pull requests

2 participants