Skip to content

Commit 990e6e1

Browse files
Update install script to v3 (#3)
1 parent b7d4b57 commit 990e6e1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ test_script:
1010
stage: test
1111
cache: []
1212
script:
13-
- LANGUAGES="java" SERVICE="my-service" API_KEY="dummy" source <(cat script.sh)
13+
- LANGUAGES="java" SERVICE="my-service" API_KEY="dummy" JAVA_INSTRUMENTED_BUILD_SYSTEM="all" source <(cat script.sh)
1414
- export LOG_FILE=java-output.log
1515
- export TRACER_INIT_LOG="CI Visibility settings"
1616
- java -version 2>&1 | tee $LOG_FILE

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The script takes in the following environment variables:
3434
| JAVA_TRACER_VERSION | The version of Datadog Java tracer to use. Defaults to the latest release. | false | |
3535
| JS_TRACER_VERSION | The version of Datadog JS tracer to use. Defaults to the latest release. | false | |
3636
| PYTHON_TRACER_VERSION | The version of Datadog Python tracer to use. Defaults to the latest release. | false | |
37-
| 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 | |
37+
| 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 | |
3838

3939
### Additional configuration
4040

script.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ fi
6060

6161
export DD_CIVISIBILITY_AUTO_INSTRUMENTATION_PROVIDER="gitlab"
6262

63-
installation_script_url="https://install.datadoghq.com/scripts/install_test_visibility_v2.sh"
64-
installation_script_checksum="7c888969cf45b4a2340d5cf58afa2e7110a295904ca182724b88a3d19e9bc18d"
63+
installation_script_url="https://install.datadoghq.com/scripts/install_test_visibility_v3.sh"
64+
installation_script_checksum="14f41bd44247591c442aab691902d8172765548fe71b32aa579d969c5fe43c54"
6565
script_filepath="install_test_visibility.sh"
6666

6767
if command -v curl >/dev/null 2>&1; then

0 commit comments

Comments
 (0)