diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index aa4c370..76e3284 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,7 +10,7 @@ test_script: stage: test cache: [] script: - - LANGUAGES="java" SERVICE="my-service" API_KEY="dummy" source <(cat script.sh) + - LANGUAGES="java" SERVICE="my-service" API_KEY="dummy" JAVA_INSTRUMENTED_BUILD_SYSTEM="all" source <(cat script.sh) - export LOG_FILE=java-output.log - export TRACER_INIT_LOG="CI Visibility settings" - java -version 2>&1 | tee $LOG_FILE diff --git a/README.md b/README.md index dd9b51a..333bad4 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ The script takes in the following environment variables: | 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/script.sh b/script.sh index 217cd08..39a3a22 100755 --- a/script.sh +++ b/script.sh @@ -60,8 +60,8 @@ fi export DD_CIVISIBILITY_AUTO_INSTRUMENTATION_PROVIDER="gitlab" -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" script_filepath="install_test_visibility.sh" if command -v curl >/dev/null 2>&1; then