Humm, that would be hard and security unwise. The executing node path aren't available to the web. If you are on a secure local network and you really want to go down that road, you need to
- mount the slave nodes into the master node local path that would be accessible by the jenkins web process.
- You need to expose those path to the web master node (this is a security breach).
- You would have to make relative path from the node, then recreate the path to the web local web path.
I think it would be easier to just gather artifacts and make them available to jenkins results.
Example from the number above:
slave node (SLAVE1) path: /myjenkinsworkspace/projectA/MyPathIWant
master node mount (do this for every slave node you need): $SLAVE1:/myjenkinsworkspace /MyJenkinsSlaveAccess/Slave1
Expose the whole /MyJenkinsSlaveAccess/ to the Jenkins web (this is a huge security breach), depend how you serve the jenkins to the web, configure the share (build in, ngix, apache...)
then convert the MyPathIWant to a valid jenkins url:
That would work, but I would not recommand that.