diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1612968..28b13bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,7 @@ jobs: languages: java service: my-service api_key: "dummy" + java-instrumented-build-system: "all" - name: Check If Java Tracing Works run: | diff --git a/README.md b/README.md index ff86fdc..4ecf6e7 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ The action has the following parameters: | java-tracer-version | The version of Datadog Java tracer to use. Defaults to the latest release. | false | | | js-tracer-version | The version of Datadog JS tracer to use. Defaults to the latest release. | false | | | python-tracer-version | The version of Datadog Python tracer to use. Defaults to the latest release. | false | | - | java-instrumented-build-system | If provided, only the specified build systems will be instrumented (allowed values are `gradle` and `maven`). Otherwise every Java process will be instrumented. | false | | + | java-instrumented-build-system | If provided, only the specified build systems will be instrumented (allowed values are `gradle`,`maven`,`sbt`,`ant`,`all`). `all` is a special value that instruments every Java process. If this property is not provided, all known build systems will be instrumented (Gradle, Maven, SBT, Ant). | false | | ### Additional configuration diff --git a/action.yml b/action.yml index 7c5d406..e3ddbe6 100644 --- a/action.yml +++ b/action.yml @@ -103,8 +103,8 @@ runs: DD_SET_TRACER_VERSION_JS: ${{ inputs.js-tracer-version }} DD_SET_TRACER_VERSION_PYTHON: ${{ inputs.python-tracer-version }} DD_INSTRUMENTATION_BUILD_SYSTEM_JAVA: ${{ inputs.java-instrumented-build-system }} - INSTALLATION_SCRIPT_URL: https://install.datadoghq.com/scripts/install_test_visibility_v2.sh - INSTALLATION_SCRIPT_CHECKSUM: 7c888969cf45b4a2340d5cf58afa2e7110a295904ca182724b88a3d19e9bc18d + INSTALLATION_SCRIPT_URL: https://install.datadoghq.com/scripts/install_test_visibility_v3.sh + INSTALLATION_SCRIPT_CHECKSUM: 14f41bd44247591c442aab691902d8172765548fe71b32aa579d969c5fe43c54 - name: Propagate optional site input to environment variable if: "${{ inputs.site != '' }}"