Skip to content

Fix integration with the Tests observability product #9008

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 19, 2025
Merged
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
2 changes: 2 additions & 0 deletions .circleci/upload_ciapp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ java_prop() {
# Upload test results to CI Visibility
junit_upload() {
# based on tracer implementation: https://github.com/DataDog/dd-trace-java/blob/master/dd-java-agent/agent-bootstrap/src/main/java/datadog/trace/bootstrap/instrumentation/decorator/TestDecorator.java#L55-L77
# Overwriting the tag with the GitHub repo URL instead of the GitLab one. Otherwise, some Test Optimization features won't work.
DD_API_KEY=$1 \
datadog-ci junit upload --service $SERVICE_NAME \
--logs \
Expand All @@ -30,6 +31,7 @@ junit_upload() {
--tags "os.architecture:$(java_prop os.arch)" \
--tags "os.platform:$(java_prop os.name)" \
--tags "os.version:$(java_prop os.version)" \
--tags "git.repository_url:https://github.com/DataDog/dd-trace-java" \
./results
}

Expand Down
Loading