Automatic tracer injection comes with some language-specific caveats. Check the Test Visibility setup documentation for your language to make sure that the testing framework that you use is supported.
JavaInjection works for Maven, Gradle, SBT, Ant builds and for any JVM-based language (Java, Kotlin, Groovy, Scala, etc).
MAVEN_OPTS
,GRADLE_OPTS
,SBT_OPTS
,ANT_OPTS
environment variables are used for injection.
If these variables are overridden inside the job (with its existing value being discarded rather than preserved),
the injection will not work.
The plugin assumes that npm
and node
(v18.0.0 or newer) are available on the node that executes the job.
NODE_OPTIONS
environment variable is used for injection.
If this variable is overridden inside the job (with its existing value being discarded rather than preserved),
the injection will not happen.
The plugin assumes that pip
is available on the node that executes the job.
The plugin assumes that the job uses the same pip
/python
versions as the default ones that are available on the execution node.
PYTEST_ADDOPTS
and PYTHONPATH
environment variables are used for injection.
If these variables are overridden inside the job (with their existing value being discarded rather than preserved),
the injection will not happen.
The plugin assumes that dotnet
and dotnet tool
are available on the node that executes the job.