Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .circleci/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
- run: echo 'export DD_API_KEY=dummy' >> $BASH_ENV
- test-visibility-circleci-orb/autoinstrument:
languages: java
java_instrumented_build_system: all
- run:
name: Test that java has been instrumented with test visibility
command: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The orb 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

Expand Down
4 changes: 2 additions & 2 deletions src/commands/autoinstrument.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ steps:
DD_SET_TRACER_VERSION_JS: <<parameters.js_tracer_version>>
DD_SET_TRACER_VERSION_PYTHON: <<parameters.python_tracer_version>>
DD_INSTRUMENTATION_BUILD_SYSTEM_JAVA: <<parameters.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: Configure Datadog Test Visibility
command: <<include(scripts/autoinstrument.sh)>>