Update on the Context Propagation Fix
Update: I have successfully implemented and validated the fix for the TRACEPARENT context issue.
The Issue: Previously, the TRACEPARENT environment variable was not correctly updating for steps inside a stage. This caused broken trace hierarchies where steps like sh or bat were not properly nested under their parent stage.
The Fix: I modified OtelEnvironmentContributor.java to explicitly respect the current active span. You can view the implementation here: [Link to The PR]
Visual Verification: I spun up a local Jenkins instance connected to a Jaeger backend to verify the fix. As seen in the screenshot below, the sh step is now correctly indented as a child of the Verification stage, confirming that the trace context is being propagated correctly down the pipeline.
