From 9e28ce4bcbda3d88b7ff6c1dbaf9249baa5f739f Mon Sep 17 00:00:00 2001 From: Nikita Tkachenko Date: Wed, 27 Sep 2023 16:57:42 +0200 Subject: [PATCH] Remove Application Key configuration since the backend no longer requires it --- README.md | 4 +- .../datadog/DatadogGlobalConfiguration.java | 145 ------------------ .../tracer/DatadogTracerConfigurator.java | 1 - .../DatadogGlobalConfiguration/config.jelly | 7 - .../help-targetApplicationKeyEntry.html | 4 - ...-targetCredentialsApplicationKeyEntry.html | 6 - .../DatadogTracerJobProperty/help-on.html | 1 + 7 files changed, 4 insertions(+), 164 deletions(-) delete mode 100644 src/main/resources/org/datadog/jenkins/plugins/datadog/DatadogGlobalConfiguration/help-targetApplicationKeyEntry.html delete mode 100644 src/main/resources/org/datadog/jenkins/plugins/datadog/DatadogGlobalConfiguration/help-targetCredentialsApplicationKeyEntry.html diff --git a/README.md b/README.md index 1ced9ebe9..1d8facc40 100644 --- a/README.md +++ b/README.md @@ -232,7 +232,9 @@ The plugin can automatically configure Datadog getCommonEnvVariables(DatadogGlobalConfigurat variables.put("DD_CIVISIBILITY_AGENTLESS_ENABLED", "true"); variables.put("DD_SITE", getSite(datadogConfig.getTargetApiURL())); variables.put("DD_API_KEY", Secret.toString(datadogConfig.getUsedApiKey())); - variables.put("DD_APPLICATION_KEY", Secret.toString(datadogConfig.getUsedApplicationKey())); break; case DSD: variables.put("DD_AGENT_HOST", datadogConfig.getTargetHost()); diff --git a/src/main/resources/org/datadog/jenkins/plugins/datadog/DatadogGlobalConfiguration/config.jelly b/src/main/resources/org/datadog/jenkins/plugins/datadog/DatadogGlobalConfiguration/config.jelly index 191f675ee..7f0b723d6 100644 --- a/src/main/resources/org/datadog/jenkins/plugins/datadog/DatadogGlobalConfiguration/config.jelly +++ b/src/main/resources/org/datadog/jenkins/plugins/datadog/DatadogGlobalConfiguration/config.jelly @@ -61,13 +61,6 @@ - - - - - - - diff --git a/src/main/resources/org/datadog/jenkins/plugins/datadog/DatadogGlobalConfiguration/help-targetApplicationKeyEntry.html b/src/main/resources/org/datadog/jenkins/plugins/datadog/DatadogGlobalConfiguration/help-targetApplicationKeyEntry.html deleted file mode 100644 index c8d6728f0..000000000 --- a/src/main/resources/org/datadog/jenkins/plugins/datadog/DatadogGlobalConfiguration/help-targetApplicationKeyEntry.html +++ /dev/null @@ -1,4 +0,0 @@ -
- Enter your Datadog application key, which can be found - here. -
diff --git a/src/main/resources/org/datadog/jenkins/plugins/datadog/DatadogGlobalConfiguration/help-targetCredentialsApplicationKeyEntry.html b/src/main/resources/org/datadog/jenkins/plugins/datadog/DatadogGlobalConfiguration/help-targetCredentialsApplicationKeyEntry.html deleted file mode 100644 index bc9c0ae11..000000000 --- a/src/main/resources/org/datadog/jenkins/plugins/datadog/DatadogGlobalConfiguration/help-targetCredentialsApplicationKeyEntry.html +++ /dev/null @@ -1,6 +0,0 @@ -
- Enter your Datadog application key, which can be found - here. - This field is an alternative to specifying the application key directly (field above), use it only if you would like to store your application key with - Jenkins Credentials. -
diff --git a/src/main/resources/org/datadog/jenkins/plugins/datadog/tracer/DatadogTracerJobProperty/help-on.html b/src/main/resources/org/datadog/jenkins/plugins/datadog/tracer/DatadogTracerJobProperty/help-on.html index 14eb46c98..ee4ea96bc 100644 --- a/src/main/resources/org/datadog/jenkins/plugins/datadog/tracer/DatadogTracerJobProperty/help-on.html +++ b/src/main/resources/org/datadog/jenkins/plugins/datadog/tracer/DatadogTracerJobProperty/help-on.html @@ -1,4 +1,5 @@
Enable Datadog Test Visibility for this job. This requires configuring Datadog Plugin connectivity. + Please bear in mind that Test Visibility is a separate Datadog product that is billed separately.