diff --git a/.circleci/upload_ciapp.sh b/.circleci/upload_ciapp.sh index 11fd546f50e..e843349debf 100755 --- a/.circleci/upload_ciapp.sh +++ b/.circleci/upload_ciapp.sh @@ -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 \ @@ -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 }