Am 10.11.2020 um 19:52 schrieb Tal Yanai <t...@yanai.org.il>:Hi,Suppose the Java plugin I'm writing is producing a report file. Within its node (slave) I will use filePath.child(fileOnDiskPath) to persist that report into that node workspace.What happened now when I want to reference that report once the build is over?
How do I gain access to that node's location now that the job is over?
If I do run.getExecutor().getCurrentWorkspace() for getting the FilePath, I'm getting NullPointerException Obviously as nothing is running.Is something wrong in this methodology?
Thanks,Tal.--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/6ec4c472-0b0c-4008-a0e8-f379494725e1n%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/M6gDEaUMaDk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/6ec4c472-0b0c-4008-a0e8-f379494725e1n%40googlegroups.com.