I don't know an answer to your question but I have other ideas.
Instead of running on the same slave you could find a way to access the data created previously.
Either by accessing the same workspace or by transferring data from the previous build by CopyArtifacts or stash/unstash or any other solution (there could be many....).