Jenkins agent issue

Hello Jenkins Community,
Greetings for the day!

I am facing a strange issue with the Jenkins agent.


  1. Connected Jenkins agent using WebSocket method.
  2. Jenkins version: 2.303.3

When the pipeline starts execution, generally it should first go to the Jenkins master node and then assigned execution to the respective agent which is mentioned in the pipeline script.
But in my case, first, it went to Jenkins agent, i.e. slave connected using WebSocket, not to the master node.
After checking the path on both, the master and agent nodes - the path exists on the Master node, not on the Jenkins agent.

Refer to the attached screenshot.
Thanks in advance!

Another screenshot.