In the java API, I can access to the workspace path from the Run.java object: (Until today, all objects were instance of hudson.model.AbstractBuild)
hudson.model.AbstractBuild#getWorkspace()
hudson.model.Run#getExecutor().getCurrentWorkspace()
In Pipeline plugin I don’t have an access to the workspace, the run object is instance of org.jenkinsci.plugins.workflow.job.WorkflowRun and this object doesn’t link to any workspace.
also, this call return null: hudson.model.Run#getExecutor().getCurrentWorkspace()
how can I get it?
(in other words: I need an access from my plugin (java plugin), during hudson.model.listeners.RunListener flow.
I'm working with the back-end objects: WorkflowRun.java and FlowNode.java. and need an access point from those classes)