-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Labels
kind/bugBug related issueBug related issue
Description
Describe the bug
Datadog plugin is configured with CasC. ciInstanceName value from CasC will not be applied properly to "CI Instance Name" setting in UI, it gets value from traceServiceName .
To Reproduce
Steps to reproduce the behavior:
- Setup Datadog plugin in CasC
datadogGlobalConfiguration:
cacheBuildRuns: true
ciInstanceName: "playground-dev.dev"
collectBuildLogs: false
collectBuildTraces: false
datadogClientConfiguration:
datadogApiConfiguration:
apiKey:
datadogCredentialsApiKey:
credentialsId: "datadog_api_key"
intake:
datadogIntakeUrls:
apiUrl: "https://api.datadoghq.com/api/"
logsUrl: "https://http-intake.logs.datadoghq.com/v1/input/"
webhooksUrl: "https://webhook-intake.datadoghq.com/api/v2/webhook/"
emitConfigChangeEvents: false
emitSecurityEvents: true
emitSystemEvents: true
enableCiVisibility: true
hostname: "playground-dev.dev"
refreshDogstatsdClient: false
reportWith: "HTTP"
showDatadogLinks: true
targetApiURL: "https://api.datadoghq.com/api/"
targetCredentialsApiKey: "datadog_api_key"
targetLogIntakeURL: "https://http-intake.logs.datadoghq.com/v1/input/"
targetWebhookIntakeURL: "https://webhook-intake.datadoghq.com/api/v2/webhook/"
traceServiceName: "jenkins"
useAwsInstanceHostname: false
- Apply config
- Go to global configuration
- See that "CI Instance Name" setting is different from CasC ciInstanceName
Environment and Versions:
CasC plugin: 1953.v148f87d74b_1e
datadog plugin: 9.1.5
Jenkins LTS: 2.492.3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugBug related issueBug related issue
