Skip to content
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

Fix -DargLine propagation for Maven builds #7269

Conversation

nikita-tkachenko-datadog
Copy link
Contributor

@nikita-tkachenko-datadog nikita-tkachenko-datadog commented Jul 2, 2024

What Does This Do

Fixes Maven builds instrumentation.
Currently if Maven Surefire JVM arguments are set via command line (-DargLine=...) their value is not preserved: the logic that injects DD tracer overwrites the arguments.

Jira ticket: SDTEST-519

@nikita-tkachenko-datadog nikita-tkachenko-datadog added type: bug comp: ci visibility Continuous Integration Visibility labels Jul 2, 2024
@nikita-tkachenko-datadog nikita-tkachenko-datadog marked this pull request as ready for review July 2, 2024 17:26
@nikita-tkachenko-datadog nikita-tkachenko-datadog requested a review from a team as a code owner July 2, 2024 17:26
Copy link
Contributor

@PerfectSlayer PerfectSlayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if you want to ship it now. You might want a more product-specific review though 🤷

@nikita-tkachenko-datadog nikita-tkachenko-datadog merged commit b29a90a into master Jul 3, 2024
80 checks passed
@nikita-tkachenko-datadog nikita-tkachenko-datadog deleted the nikita-tkachenko/fix-maven-command-line-argline-propagation branch July 3, 2024 07:52
@github-actions github-actions bot added this to the 1.37.0 milestone Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: ci visibility Continuous Integration Visibility type: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants